aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/kdoc/kdoc_item.py
diff options
context:
space:
mode:
authorJuri Lelli <[email protected]>2025-07-21 13:01:42 +0000
committerPeter Zijlstra <[email protected]>2025-08-26 08:46:00 +0000
commitbb4700adc3abec34c0a38b64f66258e4e233fc16 (patch)
tree6ec76b3348748cc686ff980537022a7b1c6ff7cf /scripts/lib/kdoc/kdoc_item.py
parentsched/deadline: Fix dl_server_stopped() (diff)
downloadkernel-bb4700adc3abec34c0a38b64f66258e4e233fc16.tar.gz
kernel-bb4700adc3abec34c0a38b64f66258e4e233fc16.zip
sched/deadline: Always stop dl-server before changing parameters
Commit cccb45d7c4295 ("sched/deadline: Less agressive dl_server handling") reduced dl-server overhead by delaying disabling servers only after there are no fair task around for a whole period, which means that deadline entities are not dequeued right away on a server stop event. However, the delay opens up a window in which a request for changing server parameters can break per-runqueue running_bw tracking, as reported by Yuri. Close the problematic window by unconditionally calling dl_server_stop() before applying the new parameters (ensuring deadline entities go through an actual dequeue). Fixes: cccb45d7c4295 ("sched/deadline: Less agressive dl_server handling") Reported-by: Yuri Andriaccio <[email protected]> Signed-off-by: Juri Lelli <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Valentin Schneider <[email protected]> Link: https://lore.kernel.org/r/20250721-upstream-fix-dlserver-lessaggressive-b4-v1-1-4ebc10c87e40@redhat.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_item.py')
0 files changed, 0 insertions, 0 deletions