commit | cc631fb732b8ccd6a0cc45557475ea09b0c21a68 | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Thu May 06 18:49:21 2010 +0200 |
committer | Tejun Heo <tj@kernel.org> | Thu May 06 18:49:21 2010 +0200 |
tree | 37e8c84f227a21d628a9d3a96dbbf5fedd506db1 | |
parent | 94458d5ecb3da844823cc191e73e5c5ead98a464 [diff] |
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>