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 D0A52C4332F for ; Fri, 9 Dec 2022 18:10:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229580AbiLISKE (ORCPT ); Fri, 9 Dec 2022 13:10:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbiLISKC (ORCPT ); Fri, 9 Dec 2022 13:10:02 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20D609B2B1; Fri, 9 Dec 2022 10:10:02 -0800 (PST) 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 dfw.source.kernel.org (Postfix) with ESMTPS id B390F622EB; Fri, 9 Dec 2022 18:10:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A1D17C433EF; Fri, 9 Dec 2022 18:09:59 +0000 (UTC) Date: Fri, 9 Dec 2022 13:09:58 -0500 From: Steven Rostedt To: "Paul E. McKenney" Cc: linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, Masami Hiramatsu , Andrew Morton , Karol Herbst , Pekka Paalanen , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org Subject: Re: [PATCH 2/2] x86/mm/kmmio: Remove rcu_read_lock() Message-ID: <20221209130958.4f1d3057@gandalf.local.home> In-Reply-To: <20221209130334.487b63aa@gandalf.local.home> References: <20221206191201.217838841@goodmis.org> <20221206191229.813199661@goodmis.org> <20221207173621.GF4001@paulmck-ThinkPad-P17-Gen-1> <20221209130334.487b63aa@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-trace-kernel@vger.kernel.org On Fri, 9 Dec 2022 13:03:34 -0500 Steven Rostedt wrote: > On Wed, 7 Dec 2022 09:36:21 -0800 > "Paul E. McKenney" wrote: > > > > Cc: "Paul E. McKenney" > > > Signed-off-by: Steven Rostedt > > > > Might be worth adding a comment saying that others are using this > > preempt_disable() to block an RCU grace period, but that is up to > > you guys. I will let you and your future selves be the judges. > > Good point. I'll add a comment in v2. Actually, rcu_read_lock_sched_notrace() may work instead. Let me test it. -- Steve