summaryrefslogtreecommitdiffstats
path: root/debian/patches-rt/rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch
diff options
context:
space:
mode:
authorRomain Perier <romain.perier@opensource.viveris.fr>2019-01-11 15:52:15 +0100
committerRomain Perier <romain.perier@opensource.viveris.fr>2019-01-11 17:44:15 +0100
commitfe5142170f582165349d8b4e1b4efa83b628b25e (patch)
treed6a7e3f96fe695ccf637407f04cd23028260470c /debian/patches-rt/rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch
parentd31776d28df358119e1c1caec843cc2e6ca1bd8a (diff)
downloadlinux-debian-fe5142170f582165349d8b4e1b4efa83b628b25e.tar.gz
[rt] Update to 4.19.13-rt10
Diffstat (limited to 'debian/patches-rt/rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch')
-rw-r--r--debian/patches-rt/rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/patches-rt/rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch b/debian/patches-rt/rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch
index e0680b46d..6a9f8e287 100644
--- a/debian/patches-rt/rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch
+++ b/debian/patches-rt/rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch
@@ -1,7 +1,7 @@
From: Daniel Bristot de Oliveira <bristot@redhat.com>
Date: Mon, 26 Jun 2017 17:07:15 +0200
Subject: rt: Increase/decrease the nr of migratory tasks when enabling/disabling migration
-Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.10-rt8.tar.xz
+Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.13-rt10.tar.xz
There is a problem in the migrate_disable()/enable() implementation
regarding the number of migratory tasks in the rt/dl RQs. The problem
@@ -81,7 +81,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
-@@ -7139,6 +7139,47 @@ const u32 sched_prio_to_wmult[40] = {
+@@ -7138,6 +7138,47 @@ const u32 sched_prio_to_wmult[40] = {
#if defined(CONFIG_PREEMPT_COUNT) && defined(CONFIG_SMP)
@@ -129,7 +129,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
void migrate_disable(void)
{
struct task_struct *p = current;
-@@ -7162,10 +7203,9 @@ void migrate_disable(void)
+@@ -7161,10 +7202,9 @@ void migrate_disable(void)
}
preempt_disable();
@@ -142,7 +142,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
preempt_enable();
}
-@@ -7197,9 +7237,8 @@ void migrate_enable(void)
+@@ -7196,9 +7236,8 @@ void migrate_enable(void)
preempt_disable();