Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fc390cde authored by Paul E. McKenney's avatar Paul E. McKenney Committed by Tejun Heo
Browse files

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: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent cc631fb7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -8932,6 +8932,7 @@ struct cgroup_subsys cpuacct_subsys = {

void synchronize_sched_expedited(void)
{
	barrier();
}
EXPORT_SYMBOL_GPL(synchronize_sched_expedited);