summaryrefslogtreecommitdiffstats
path: root/debian/patches-rt/0114-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/patches-rt/0114-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/debian/patches-rt/0114-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch b/debian/patches-rt/0114-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch
index 26a09df27..284b46f3f 100644
--- a/debian/patches-rt/0114-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch
+++ b/debian/patches-rt/0114-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch
@@ -1,8 +1,8 @@
From: Daniel Bristot de Oliveira <bristot@redhat.com>
Date: Mon, 26 Jun 2017 17:07:15 +0200
-Subject: [PATCH 114/351] rt: Increase/decrease the nr of migratory tasks when
+Subject: [PATCH 114/353] rt: Increase/decrease the nr of migratory tasks when
enabling/disabling migration
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=f12714dbfa30e40ef8023d652f115cb6ff2ad99d
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=6ab761de0e3bce2d40f8415159a1683a6b44b741
There is a problem in the migrate_disable()/enable() implementation
regarding the number of migratory tasks in the rt/dl RQs. The problem
@@ -81,10 +81,10 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
1 file changed, 44 insertions(+), 5 deletions(-)
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
-index 54f22c835740..7b4752fa34d1 100644
+index 217b63c76553..3c1f897b8b70 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
-@@ -7180,6 +7180,47 @@ const u32 sched_prio_to_wmult[40] = {
+@@ -7182,6 +7182,47 @@ const u32 sched_prio_to_wmult[40] = {
#if defined(CONFIG_PREEMPT_COUNT) && defined(CONFIG_SMP)
@@ -132,7 +132,7 @@ index 54f22c835740..7b4752fa34d1 100644
void migrate_disable(void)
{
struct task_struct *p = current;
-@@ -7203,10 +7244,9 @@ void migrate_disable(void)
+@@ -7205,10 +7246,9 @@ void migrate_disable(void)
}
preempt_disable();
@@ -145,7 +145,7 @@ index 54f22c835740..7b4752fa34d1 100644
preempt_enable();
}
-@@ -7238,9 +7278,8 @@ void migrate_enable(void)
+@@ -7240,9 +7280,8 @@ void migrate_enable(void)
preempt_disable();