projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc631fb
)
rcu: need barrier() in UP synchronize_sched_expedited()
author
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Thu, 6 May 2010 18:42:52 +0000
(11:42 -0700)
committer
Tejun Heo
<tj@kernel.org>
Fri, 7 May 2010 05:23:21 +0000
(07:23 +0200)
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 <paulmck@linux.vnet.ibm.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/sched.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/sched.c
b/kernel/sched.c
index 155a16d5214627cbb6c5ed45b041766284bdda77..fbaf3128d010ddd8079344d4c219a9b37f4a3973 100644
(file)
--- 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);