diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-11-04 19:48:36 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2013-04-04 22:09:24 (GMT) |
commit | 80304b397d165b9f6f742a719292d607e0d0daa7 (patch) | |
tree | faf091f695d315334982747bf6f861c66a3c29f5 | |
parent | 206e294f11d5043f5567636e9401cb034ba4841d (diff) | |
download | linux-fsl-qoriq-80304b397d165b9f6f742a719292d607e0d0daa7.tar.xz |
sched-clear-pf-thread-bound-on-fallback-rq.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | kernel/sched/core.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 3ee8829..7d852af 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -1192,6 +1192,12 @@ out: } } + /* + * 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; } |