From: Paul E. McKenney Date: Thu, 6 May 2010 18:42:52 +0000 (-0700) Subject: rcu: need barrier() in UP synchronize_sched_expedited() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fc390cde362309f6892bb719194f242c466a978b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git rcu: need barrier() in UP synchronize_sched_expedited() If synchronize_sched_expedited() is ever to be called from within kernel/sched.c in a !SMP PREEMPT kernel, the !SMP implementation needs a barrier(). Signed-off-by: Paul E. McKenney Signed-off-by: Tejun Heo --- diff --git a/kernel/sched.c b/kernel/sched.c index 155a16d52146..fbaf3128d010 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -8932,6 +8932,7 @@ struct cgroup_subsys cpuacct_subsys = { void synchronize_sched_expedited(void) { + barrier(); } EXPORT_SYMBOL_GPL(synchronize_sched_expedited);