Re: [PATCH v2] sched/rt: Fix race in push_rt_task

From: Steven Rostedt
Date: Mon Feb 17 2025 - 11:54:05 EST


On Fri, 14 Feb 2025 17:08:44 +0000
Harshit Agarwal <harshit@xxxxxxxxxxx> wrote:

> Co-developed-by: Jon Kohler <jon@xxxxxxxxxxx>
> Signed-off-by: Jon Kohler <jon@xxxxxxxxxxx>
> Co-developed-by: Gauri Patwardhan <gauri.patwardhan@xxxxxxxxxxx>
> Signed-off-by: Gauri Patwardhan <gauri.patwardhan@xxxxxxxxxxx>
> Co-developed-by: Rahul Chunduru <rahul.chunduru@xxxxxxxxxxx>
> Signed-off-by: Rahul Chunduru <rahul.chunduru@xxxxxxxxxxx>
> Signed-off-by: Harshit Agarwal <harshit@xxxxxxxxxxx>
> Tested-by: Will Ton <william.ton@xxxxxxxxxxx>
> ---
> Changes in v2:
> - As per Steve's suggestion, removed some checks that are done after
> obtaining the lock that are no longer needed with the addition of new
> check.
> - Moved up is_migration_disabled check.
> - Link to v1:
> https://lore.kernel.org/lkml/20250211054646.23987-1-harshit@xxxxxxxxxxx/
> ---
> kernel/sched/rt.c | 54 +++++++++++++++++++++++------------------------
> 1 file changed, 26 insertions(+), 28 deletions(-)


Reviewed-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx>

Peter or Ingo,

Care to take his patch

Thanks,

-- Steve