From: Paul E. McKenney Date: Thu, 6 May 2010 16:49:21 +0000 (+0200) Subject: sched: correctly place paranioa memory barriers in synchronize_sched_expedited() X-Git-Tag: v2.6.35-rc1~521^2~11^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc631fb732b8ccd6a0cc45557475ea09b0c21a68;p=pandora-kernel.git 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 Signed-off-by: Tejun Heo --- Reading git-diff-tree failed