From 38db540ee6930dafa84973fa1c493128ed23d810 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 8 May 2024 05:44:05 +0200 Subject: Merging debian version 4.19.269-1. Signed-off-by: Daniel Baumann --- .../0027-kernel-sched-core-add-migrate_disable.patch | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'debian/patches-rt/0027-kernel-sched-core-add-migrate_disable.patch') diff --git a/debian/patches-rt/0027-kernel-sched-core-add-migrate_disable.patch b/debian/patches-rt/0027-kernel-sched-core-add-migrate_disable.patch index 3f81197cb..84c4e061a 100644 --- a/debian/patches-rt/0027-kernel-sched-core-add-migrate_disable.patch +++ b/debian/patches-rt/0027-kernel-sched-core-add-migrate_disable.patch @@ -1,7 +1,7 @@ From: Sebastian Andrzej Siewior Date: Sat, 27 May 2017 19:02:06 +0200 -Subject: [PATCH 027/342] kernel/sched/core: add migrate_disable() -Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=530f57e728e9d76193a46746650e621d832ef4ce +Subject: [PATCH 027/351] kernel/sched/core: add migrate_disable() +Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=41846fc4c5b1eb7d7629a63f70673bccf13cda15 --- include/linux/preempt.h | 23 +++++++ @@ -53,10 +53,10 @@ index c01813c3fbe9..3196d0e76719 100644 #ifdef MODULE diff --git a/include/linux/sched.h b/include/linux/sched.h -index fc5f476c2aca..52069b9ddce8 100644 +index 6d5937fc782e..6a4e7b2d27d3 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h -@@ -662,6 +662,13 @@ struct task_struct { +@@ -666,6 +666,13 @@ struct task_struct { int nr_cpus_allowed; const cpumask_t *cpus_ptr; cpumask_t cpus_mask; @@ -85,7 +85,7 @@ index 6bb7f07bc1dd..039da089482c 100644 * Callback to arch code if there's nosmp or maxcpus=0 on the * boot command line: diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 3fb7638a8863..5a691d2bfbfe 100644 +index 985cfa10fda5..116529019d34 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -1008,7 +1008,15 @@ void set_cpus_allowed_common(struct task_struct *p, const struct cpumask *new_ma @@ -144,7 +144,7 @@ index 3fb7638a8863..5a691d2bfbfe 100644 if (task_running(rq, p) || p->state == TASK_WAKING) { struct migration_arg arg = { p, dest_cpu }; /* Need help from migration thread: drop lock and wait. */ -@@ -7108,3 +7137,100 @@ const u32 sched_prio_to_wmult[40] = { +@@ -7109,3 +7138,100 @@ const u32 sched_prio_to_wmult[40] = { }; #undef CREATE_TRACE_POINTS -- cgit v1.2.3