]> Git Repo - linux.git/commit
sched/fair: Prepare exit/cleanup paths for delayed_dequeue
authorPeter Zijlstra <[email protected]>
Thu, 23 May 2024 09:03:42 +0000 (11:03 +0200)
committerPeter Zijlstra <[email protected]>
Sat, 17 Aug 2024 09:06:43 +0000 (11:06 +0200)
commit2e0199df252a536a03f4cb0810324dff523d1e79
tree10895c461888661176ffa6b00aad5f2584d0eef2
parente28b5f8bda01720b5ce8456b48cf4b963f9a80a1
sched/fair: Prepare exit/cleanup paths for delayed_dequeue

When dequeue_task() is delayed it becomes possible to exit a task (or
cgroup) that is still enqueued. Ensure things are dequeued before
freeing.

Thanks to Valentin for asking the obvious questions and making
switched_from_fair() less weird.

Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Valentin Schneider <[email protected]>
Tested-by: Valentin Schneider <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
kernel/sched/fair.c
This page took 0.051874 seconds and 4 git commands to generate.