]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rcu: Clarify memory-ordering properties of grace-period primitives
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 23 Oct 2012 20:47:01 +0000 (13:47 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 23 Oct 2012 21:46:01 +0000 (14:46 -0700)
commit16bddec11e50419e5356d5aa83edc33410d79155
treeb4be743b0e5e9c6db11b21bb82cee138fe52d249
parentb1d06a66c67220faca8f1f0efa8a752151f5fab1
rcu: Clarify memory-ordering properties of grace-period primitives

This commit explicitly states the memory-ordering properties of the
RCU grace-period primitives.  Although these properties were in some
sense implied by the fundmental property of RCU ("a grace period must
wait for all pre-existing RCU read-side critical sections to complete"),
stating it explicitly will be a great labor-saving device.

Reported-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/linux/rcupdate.h
kernel/rcutree.c
kernel/rcutree_plugin.h