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

rcu-tasks: Add Kconfig option to mediate smp_mb() vs. IPI



This commit provides a new TASKS_TRACE_RCU_READ_MB Kconfig option that
enables use of read-side memory barriers by both rcu_read_lock_trace()
and rcu_read_unlock_trace() when the are executed with the
current->trc_reader_special.b.need_mb flag set.  This flag is currently
never set.  Doing that is the subject of a later commit.

Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 238dbce3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment