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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5FEE5C19F2B for ; Thu, 4 Aug 2022 10:52:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238369AbiHDKwg (ORCPT ); Thu, 4 Aug 2022 06:52:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233486AbiHDKwb (ORCPT ); Thu, 4 Aug 2022 06:52:31 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2F6649B4D; Thu, 4 Aug 2022 03:52:28 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 69190B824E4; Thu, 4 Aug 2022 10:52:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4F164C433D7; Thu, 4 Aug 2022 10:52:25 +0000 (UTC) Date: Thu, 4 Aug 2022 06:52:23 -0400 From: Steven Rostedt To: Linus Torvalds Cc: Matthew Wilcox , Al Viro , Sebastian Andrzej Siewior , Thomas Gleixner , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [git pull] vfs.git pile 3 - dcache Message-ID: <20220804065223.209ac060@gandalf.local.home> In-Reply-To: References: <20220803185936.228dc690@gandalf.local.home> <20220803213255.3ab719e3@gandalf.local.home> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 3 Aug 2022 19:16:12 -0700 Linus Torvalds wrote: > > I wonder if raw_preempt_disable() would be another name to use? > > NO! > > The point is that normal non-RT code does *not* disable preemption at > all, because it is already disabled thanks to the earlier spinlock. > > So we definitely do *not* want to call this "raw_preempt_disable()", > because it's actually not supposed to normally disable anything at > all. Only for RT, where the spinlock code doesn't do it. Yeah, I'm just brainstorming ideas on what we could use to make that name a little shorter, and I'm not coming up with much. OK, I'm becoming colorblind with this shed. -- Steve