sched/eevdf: Fixup PELT vs DELAYED_DEQUEUE
authorPeter Zijlstra <peterz@infradead.org>
Fri, 26 Apr 2024 11:00:50 +0000 (13:00 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Sat, 17 Aug 2024 09:06:45 +0000 (11:06 +0200)
commitfc1892becd5672f52329a75c73117b60ac7841b7
tree0c307a4d938ffae870b919203d796346a247a608
parent54a58a78779169f9c92a51facf6de7ce94962328
sched/eevdf: Fixup PELT vs DELAYED_DEQUEUE

Note that tasks that are kept on the runqueue to burn off negative
lag, are not in fact runnable anymore, they'll get dequeued the moment
they get picked.

As such, don't count this time towards runnable.

Thanks to Valentin for spotting I had this backwards initially.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Valentin Schneider <vschneid@redhat.com>
Tested-by: Valentin Schneider <vschneid@redhat.com>
Link: https://lkml.kernel.org/r/20240727105030.514088302@infradead.org
kernel/sched/fair.c
kernel/sched/sched.h