rcu: Add a hlist_nulls_unhashed_lockless() function
authorPaul E. McKenney <paulmck@kernel.org>
Sat, 9 Nov 2019 18:45:47 +0000 (10:45 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Fri, 10 Jan 2020 22:00:57 +0000 (14:00 -0800)
commit02b99b38f3d96c77cf0a368d99952aa372dfe58a
tree42f680311cf722e1d1a58256f784700bed339046
parent46deb7449d99f37bebf5cbd7f95c136c6fafeaa5
rcu: Add a hlist_nulls_unhashed_lockless() function

This commit adds an hlist_nulls_unhashed_lockless() to allow lockless
checking for whether or note an hlist_nulls_node is hashed or not.
While in the area, this commit also adds a docbook comment to the existing
hlist_nulls_unhashed() function.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
include/linux/list_nulls.h