[ Sasha's backport helper bot ]
Hi,
The upstream commit SHA1 provided is correct: 5c9a9ca44fda41c5e82f50efced5297a9c19760d
WARNING: Author mismatch between patch and upstream commit: Backport author: Krister Johansen kjlx@templeofstupid.com Commit author: Paul E. McKenney paulmck@kernel.org
Status in newer kernel trees: 6.12.y | Present (exact SHA1) 6.11.y | Present (exact SHA1) 6.6.y | Present (exact SHA1) 6.1.y | Present (exact SHA1) 5.15.y | Not found 5.10.y | Not found
Note: The patch differs from the upstream commit: --- --- - 2024-11-22 08:26:15.770984330 -0500 +++ /tmp/tmp.eKXYnEofof 2024-11-22 08:26:15.765204063 -0500 @@ -1,3 +1,5 @@ +commit 5c9a9ca44fda41c5e82f50efced5297a9c19760d upstream + Any idle task corresponding to an offline CPU is in an RCU Tasks Trace quiescent state. This commit causes rcu_tasks_trace_postscan() to ignore idle tasks for offline CPUs, which it can do safely due to CPU-hotplug @@ -10,15 +12,16 @@ Cc: Andrii Nakryiko andrii@kernel.org Cc: Martin KaFai Lau kafai@fb.com Cc: KP Singh kpsingh@kernel.org +Signed-off-by: Krister Johansen kjlx@templeofstupid.com --- kernel/rcu/tasks.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/rcu/tasks.h b/kernel/rcu/tasks.h -index 8fe78a7fecafd..ec68bfe98c958 100644 +index bede3a4f108e..ea45a2d53a99 100644 --- a/kernel/rcu/tasks.h +++ b/kernel/rcu/tasks.h -@@ -1451,7 +1451,7 @@ static void rcu_tasks_trace_postscan(struct list_head *hop) +@@ -1007,7 +1007,7 @@ static void rcu_tasks_trace_postscan(struct list_head *hop) { int cpu;
@@ -27,3 +30,6 @@ rcu_tasks_trace_pertask(idle_task(cpu), hop);
// Re-enable CPU hotplug now that the tasklist scan has completed. +-- +2.25.1 + ---
Results of testing on various branches:
| Branch | Patch Apply | Build Test | |---------------------------|-------------|------------| | stable/linux-5.10.y | Failed | N/A |