projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca343a0
)
sched-clear-pf-thread-bound-on-fallback-rq.patch
author
Thomas Gleixner
<tglx@linutronix.de>
Fri, 4 Nov 2011 19:48:36 +0000
(20:48 +0100)
committer
Clark Williams
<williams@redhat.com>
Wed, 15 Feb 2012 16:32:51 +0000
(10:32 -0600)
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/sched.c
patch
|
blob
|
history
diff --git
a/kernel/sched.c
b/kernel/sched.c
index 51c0ad657663151b28eaad0869731ab2f460df15..81b340df601ebc5e1fec9ff2903527924aefc083 100644
(file)
--- a/
kernel/sched.c
+++ b/
kernel/sched.c
@@
-2570,7
+2570,12
@@
static int select_fallback_rq(int cpu, struct task_struct *p)
printk(KERN_INFO "process %d (%s) no longer affine to cpu%d\n",
task_pid_nr(p), p->comm, cpu);
}
-
+ /*
+ * Clear PF_THREAD_BOUND, otherwise we wreckage
+ * migrate_disable/enable. See optimization for
+ * PF_THREAD_BOUND tasks there.
+ */
+ p->flags &= ~PF_THREAD_BOUND;
return dest_cpu;
}