summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2010-05-06 20:49:21 +0400
committerTejun Heo <tj@kernel.org>2010-05-06 20:49:21 +0400
commitcc631fb732b8ccd6a0cc45557475ea09b0c21a68 (patch)
tree37e8c84f227a21d628a9d3a96dbbf5fedd506db1 /samples
parent94458d5ecb3da844823cc191e73e5c5ead98a464 (diff)
downloadlinux-cc631fb732b8ccd6a0cc45557475ea09b0c21a68.tar.xz
sched: correctly place paranioa memory barriers in synchronize_sched_expedited()
The memory barriers must be in the SMP case, not in the !SMP case. Also add a barrier after the atomic_inc() in order to ensure that other CPUs see post-synchronize_sched_expedited() actions as following the expedited grace period. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions