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

From: Waiman Long
Date: Tue Nov 25 2025 - 09:56:31 EST


On 11/24/25 10:26 PM, Pingfan Liu wrote:
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(-)

For the patch series,

Acked-by:  Waiman Long <longman@xxxxxxxxxx>