Skip to content
Commit c93773c1 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rculist: Add ASSERT_EXCLUSIVE_ACCESS() to __list_splice_init_rcu()



After the sync() in __list_splice_init_rcu(), there should be no
readers traversing the old list.  This commit therefore enlists the
help of KCSAN to verify this condition via a pair of calls to
ASSERT_EXCLUSIVE_ACCESS().

Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
Cc: Marco Elver <elver@google.com>
parent cb38f820
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment