[PATCHv2 0/2] sched/deadline: Fix potential race in dl_add_task_root_domain()

From: Pingfan Liu
Date: Mon Nov 24 2025 - 22:27:19 EST


These two patches address the issue reported by Juri [1] (thanks!).

The first removes an unnecessary comment, the second is the actual fix.

@Tejun, while these could be squashed together, I kept them separate to
maintain the one-patch-one-purpose rule. let me know if you'd like me to
resend these in a different format, or feel free to adjust as needed.

[1]: https://lore.kernel.org/lkml/aSBjm3mN_uIy64nz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Pingfan Liu (2):
sched/deadline: Remove unnecessary comment in
dl_add_task_root_domain()
sched/deadline: Fix potential race in dl_add_task_root_domain()

kernel/sched/deadline.c | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)

--
2.49.0