diff options
Diffstat (limited to 'patches/0154-sched-clear-pf-thread-bound-on-fallback-rq.patch.patch')
-rw-r--r-- | patches/0154-sched-clear-pf-thread-bound-on-fallback-rq.patch.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/patches/0154-sched-clear-pf-thread-bound-on-fallback-rq.patch.patch b/patches/0154-sched-clear-pf-thread-bound-on-fallback-rq.patch.patch new file mode 100644 index 0000000..a4a9467 --- /dev/null +++ b/patches/0154-sched-clear-pf-thread-bound-on-fallback-rq.patch.patch @@ -0,0 +1,30 @@ +From 5f6b77994cfc10b79ad4f22614ee3d80b34722d4 Mon Sep 17 00:00:00 2001 +From: Thomas Gleixner <tglx@linutronix.de> +Date: Fri, 4 Nov 2011 20:48:36 +0100 +Subject: [PATCH 154/254] sched-clear-pf-thread-bound-on-fallback-rq.patch + +Signed-off-by: Thomas Gleixner <tglx@linutronix.de> +--- + kernel/sched/core.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/kernel/sched/core.c b/kernel/sched/core.c +index 8e69311..60e46f4 100644 +--- a/kernel/sched/core.c ++++ b/kernel/sched/core.c +@@ -1325,6 +1325,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; + } + +-- +1.7.10.4 + |