Skip to content

Proposal to backport Fix race in push_rt_task to 6.12 kernel.

Rajani Kantha stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1sched/rt: Fix race in push_rt_taskkernel/sched/rt.c+25 -270 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchSteven Rostedt (Google)Phil AuldWill Ton
1/1R-b R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 6.12 0/1] Proposal to backport Fix race in push_rt_task to 6.12 kernel.

Hi Harshit,

This is a backport of upstream commit 690e47d1403e90b7f2366f03b52ed3304194c793 ("sched/rt: Fix race in push_rt_task") for the 6.12 stable series (and potentially 6.6 if applicable).

From code analysis, the same underlying race issue should exist in the 6.12 and 6.6 kernels.

Since 6.12 or older kernel doesn't have commit:af0c8b2bf67b("sched: Split scheduler and execution contexts"), so the backport patch removed BUG_ON(task_current_donor(rq, p)) in pick_netxt_pushable_task().

Please help to review if we can safty backport this fix to an older kernel, thanks.

Regards,
Raj.

Harshit Agarwal (1):
sched/rt: Fix race in push_rt_task

 kernel/sched/rt.c | 52 +++++++++++++++++++++++------------------------
 1 file changed, 25 insertions(+), 27 deletions(-)
Signature · 1 line
2.17.1