diff options
| author | Peter Zijlstra <peterz@infradead.org> | 2025-10-20 16:15:05 +0200 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2025-11-11 12:33:38 +0100 |
| commit | e636ffb9e31b4f7dde7fef5358669266b9ce02ec (patch) | |
| tree | 01246d67c4a81ce41a0f57578ba89b106fff5ee8 /net/unix/af_unix.c | |
| parent | e40cea333e60c548e047eaddec6ca48c6632424b (diff) | |
sched/deadline: Fix dl_server time accounting
The dl_server time accounting code is a little odd. The normal scheduler
pattern is to update curr before doing something, such that the old state is
fully accounted before changing state.
Notably, the dl_server_timer() needs to propagate the current time accounting
since the current task could be ran by dl_server and thus this can affect
dl_se->runtime. Similarly for dl_server_start().
And since the (deferred) dl_server wants idle time accounted, rework
sched_idle_class time accounting to be more like all the others.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20251020141130.GJ3245006@noisy.programming.kicks-ass.net
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
