diff options
author | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-05-14 00:57:50 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-08-13 23:35:49 +0200 |
commit | e6060b41c9955374079926a7612b857a8458ed1f (patch) | |
tree | 297581f29d4caec633aa474b3b4dc30f16e5cffe /Kconfig | |
parent | rcu/nocb: Allow lockless use of rcu_segcblist_restempty() (diff) | |
download | linux-e6060b41c9955374079926a7612b857a8458ed1f.tar.xz linux-e6060b41c9955374079926a7612b857a8458ed1f.zip |
rcu/nocb: Allow lockless use of rcu_segcblist_empty()
Currently, rcu_segcblist_empty() assumes that the callback list is not
being changed by other CPUs, but upcoming changes will require it to
operate locklessly. This commit therefore adds the needed READ_ONCE()
call, along with the WRITE_ONCE() calls when updating the callback list's
->head field.
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions