summary refs log tree commit diff
path: root/kernel/pid_namespace.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2010-05-06 18:49:21 +0200
committerTejun Heo <tj@kernel.org>2010-05-06 18:49:21 +0200
commitcc631fb732b8ccd6a0cc45557475ea09b0c21a68 (patch)
tree37e8c84f227a21d628a9d3a96dbbf5fedd506db1 /kernel/pid_namespace.c
parent94458d5ecb3da844823cc191e73e5c5ead98a464 (diff)
downloadlinux-cc631fb732b8ccd6a0cc45557475ea09b0c21a68.tar.gz
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 'kernel/pid_namespace.c')
0 files changed, 0 insertions, 0 deletions