Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752363AbbKBDPZ (ORCPT ); Sun, 1 Nov 2015 22:15:25 -0500 Received: from e35.co.us.ibm.com ([32.97.110.153]:41256 "EHLO e35.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752262AbbKBDPT (ORCPT ); Sun, 1 Nov 2015 22:15:19 -0500 X-IBM-Helo: d03dlp02.boulder.ibm.com X-IBM-MailFrom: paulmck@linux.vnet.ibm.com X-IBM-RcptTo: linux-kernel@vger.kernel.org Date: Sun, 1 Nov 2015 19:15:30 -0800 From: "Paul E. McKenney" To: Alexey Kardashevskiy Cc: Steven Rostedt , linux-kernel@vger.kernel.org Subject: Re: [PATCH kernel] rcu: Fix comment for rcu_dereference_raw_notrace Message-ID: <20151102031530.GN4122@linux.vnet.ibm.com> Reply-To: paulmck@linux.vnet.ibm.com References: <1446430907-25955-1-git-send-email-aik@ozlabs.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1446430907-25955-1-git-send-email-aik@ozlabs.ru> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15110203-0013-0000-0000-000019E09666 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1330 Lines: 36 On Mon, Nov 02, 2015 at 01:21:47PM +1100, Alexey Kardashevskiy wrote: > rcu_dereference_raw() calls indirectly rcu_read_lock_held() while > rcu_dereference_raw_notrace() does not so fix the comment about the latter. > > Signed-off-by: Alexey Kardashevskiy Good eyes! Queued for 4.5, thank you! Thanx, Paul > --- > include/linux/rcupdate.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h > index 581abf8..931d627 100644 > --- a/include/linux/rcupdate.h > +++ b/include/linux/rcupdate.h > @@ -760,7 +760,7 @@ static inline void rcu_preempt_sleep_check(void) > * The tracing infrastructure traces RCU (we want that), but unfortunately > * some of the RCU checks causes tracing to lock up the system. > * > - * The tracing version of rcu_dereference_raw() must not call > + * The no-tracing version of rcu_dereference_raw() must not call > * rcu_read_lock_held(). > */ > #define rcu_dereference_raw_notrace(p) __rcu_dereference_check((p), 1, __rcu) > -- > 2.5.0.rc3 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/