diff options
author | Salvatore Bonaccorso <carnil@debian.org> | 2019-12-18 18:06:31 +0100 |
---|---|---|
committer | Salvatore Bonaccorso <carnil@debian.org> | 2019-12-18 22:50:21 +0100 |
commit | 102987a83771aa994821d4d982d06faa64c789e4 (patch) | |
tree | 3e5ab5206886ec297a1a97ce80f504d75468ed2f /debian/patches-rt/sched-Allow-pinned-user-tasks-to-be-awakened-to-the-.patch | |
parent | 479cb120ecb2b3f2c4d929a7b57860248d6f79bd (diff) | |
download | linux-debian-102987a83771aa994821d4d982d06faa64c789e4.tar.gz |
[rt] Update to 5.4.3-rt1 and re-enable
Adjust for context changes due to backport of
e66b39af00f4 ("workqueue: Fix pwq ref leak in rescuer_thread()") and
def98c84b6cd ("workqueue: Fix spurious sanity check failures in
destroy_workqueue()") in 5.4.4.
Diffstat (limited to 'debian/patches-rt/sched-Allow-pinned-user-tasks-to-be-awakened-to-the-.patch')
-rw-r--r-- | debian/patches-rt/sched-Allow-pinned-user-tasks-to-be-awakened-to-the-.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/debian/patches-rt/sched-Allow-pinned-user-tasks-to-be-awakened-to-the-.patch b/debian/patches-rt/sched-Allow-pinned-user-tasks-to-be-awakened-to-the-.patch deleted file mode 100644 index 4ce50cd21..000000000 --- a/debian/patches-rt/sched-Allow-pinned-user-tasks-to-be-awakened-to-the-.patch +++ /dev/null @@ -1,33 +0,0 @@ -From: Mike Galbraith <efault@gmx.de> -Date: Sun, 19 Aug 2018 08:28:35 +0200 -Subject: [PATCH] sched: Allow pinned user tasks to be awakened to the CPU they - pinned -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.2/older/patches-5.2.17-rt9.tar.xz - -Since commit 7af443ee16976 ("sched/core: Require cpu_active() in -select_task_rq(), for user tasks") select_fallback_rq() will BUG() if -the CPU to which a task has pinned itself and pinned becomes -!cpu_active() while it slept. -The task will continue running on the to-be-removed CPU and will remove -itself from the CPU during takedown_cpu() (while cpuhp_pin_lock will be -acquired) and move to another CPU based on its mask after the -migrate_disable() section has been left. - -Cc: stable-rt@vger.kernel.org -Signed-off-by: Mike Galbraith <efault@gmx.de> -Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> ---- - kernel/sched/core.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/kernel/sched/core.c -+++ b/kernel/sched/core.c -@@ -960,7 +960,7 @@ static inline bool is_cpu_allowed(struct - if (!cpumask_test_cpu(cpu, p->cpus_ptr)) - return false; - -- if (is_per_cpu_kthread(p)) -+ if (is_per_cpu_kthread(p) || __migrate_disabled(p)) - return cpu_online(cpu); - - return cpu_active(cpu); |