|
Message-ID: <20200324162725.GC2518046@kroah.com> Date: Tue, 24 Mar 2020 17:27:25 +0100 From: Greg KH <greg@...ah.com> To: Will Deacon <will@...nel.org> Cc: linux-kernel@...r.kernel.org, Eric Dumazet <edumazet@...gle.com>, Jann Horn <jannh@...gle.com>, Kees Cook <keescook@...omium.org>, Maddie Stone <maddiestone@...gle.com>, Marco Elver <elver@...gle.com>, "Paul E . McKenney" <paulmck@...nel.org>, Peter Zijlstra <peterz@...radead.org>, Thomas Gleixner <tglx@...utronix.de>, kernel-team@...roid.com, kernel-hardening@...ts.openwall.com Subject: Re: [RFC PATCH 02/21] list: Remove hlist_nulls_unhashed_lockless() On Tue, Mar 24, 2020 at 03:36:24PM +0000, Will Deacon wrote: > Commit 02b99b38f3d9 ("rcu: Add a hlist_nulls_unhashed_lockless() function") > introduced the (as yet unused) hlist_nulls_unhashed_lockless() function > to avoid KCSAN reports when an RCU reader checks the 'hashed' status > of an 'hlist_nulls' concurrently undergoing modification. > > Remove the unused function and add a READ_ONCE() to hlist_nulls_unhashed(), > just like we do already for hlist_nulls_empty(). > > Cc: Paul E. McKenney <paulmck@...nel.org> > Cc: Peter Zijlstra <peterz@...radead.org> > Signed-off-by: Will Deacon <will@...nel.org> > --- > include/linux/list_nulls.h | 14 -------------- > 1 file changed, 14 deletions(-) Reviewed-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.