From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9FD25C2D0E4 for ; Thu, 19 Nov 2020 12:18:47 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 18F45246E0 for ; Thu, 19 Nov 2020 12:18:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="OgDSUICj"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="hsHjAmCj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 18F45246E0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=OfHlDnCnGpesi4JDXPdYdnDAOYRwNu8jwxFNoqeQqLI=; b=OgDSUICjNzIT381HDSTMeXdD8 udnEvcmyxtMGrfowB+KoKLO23oDg+EFoxOzxkLQhdihMhyEO43Co/WKm92HfhkcKB4TGuZm7CDXxM /TbltMHwsQuRuBPm2KL7t0zMAeW4m4nNys2Jh3IjhF9tsW1d18oh1E8vNisdNlT+tRnYywt1dc0h9 ldiSfTRgj4spD5yUfraVPN1L/lshO4/rc3i2ZZu0g3eqls/j9DIF2h3vuVImh4qGfoq6/XFhj3k8U oXcRkexcs2H790q+8LNxnWcLb6R8R922R72V9HOXdnvYzkmnFi5j1udInqqFyvjYgi65mAAWIxace 2eWZHz48Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kfit9-0005dh-9M; Thu, 19 Nov 2020 12:18:11 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kfit5-0005bW-0g; Thu, 19 Nov 2020 12:18:08 +0000 Received: from localhost (unknown [176.167.53.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0AD872224E; Thu, 19 Nov 2020 12:18:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605788284; bh=KHq+av0erckkSGo2Wxd/+KMT06c++ZpkBRbwRwRGlxM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hsHjAmCjhp908eOurJ4tCBHUDqDkIopOM//kRiZmD+8aHp6P18/7SBWo54oQXi5bA QYwWvJV99mn0dfBZTrELgOz/3hI/7vQIv272qLfYEucWfeq/N/4aEnG4vQQGoFMn16 sE6sud7/uhKrdamVS26I1fPe8wsNZ7Fqu4bm0LqI= Date: Thu, 19 Nov 2020 13:18:01 +0100 From: Frederic Weisbecker To: Thomas Gleixner Subject: Re: [patch 12/19] softirq: Add RT specific softirq accounting Message-ID: <20201119121801.GA20115@lothringen> References: <20201113140207.499353218@linutronix.de> <20201113141734.096224353@linutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201113141734.096224353@linutronix.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201119_071807_202406_BC73303D X-CRM114-Status: GOOD ( 14.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rich Felker , Catalin Marinas , Paul McKenney , Arnd Bergmann , linux-sh@vger.kernel.org, Peter Zijlstra , Richard Weinberger , Sebastian Andrzej Siewior , Valentin Schneider , Jeff Dike , LKML , Yoshinori Sato , "James E.J. Bottomley" , linux-parisc@vger.kernel.org, Marc Zyngier , Russell King , linux-um@lists.infradead.org, Will Deacon , Helge Deller , linux-arm-kernel@lists.infradead.org, Anton Ivanov Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Nov 13, 2020 at 03:02:19PM +0100, Thomas Gleixner wrote: > RT requires the softirq to be preemptible and uses a per CPU local lock to > protect BH disabled sections and softirq processing. Therefore RT cannot > use the preempt counter to keep track of BH disabled/serving. > > Add a RT only counter to task struct and adjust the relevant macros in > preempt.h. You may want to describe a bit the reason for this per task counter. It's not intuitive at this stage. Thanks. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel