Files
linux/kernel
Peter Zijlstra db4551e2ba sched/fair: Use full weight to __calc_delta()
Since we now use the full weight for avg_vruntime(), also make
__calc_delta() use the full value.

Since weight is effectively NICE_0_LOAD, this is 20 bits on 64bit.
This leaves 44 bits for delta_exec, which is ~16k seconds, way longer
than any one tick would ever be, so no worry about overflow.

Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Vincent Guittot <[email protected]>
Tested-by: K Prateek Nayak <[email protected]>
Tested-by: Shubhang Kaushik <[email protected]>
Link: https://patch.msgid.link/20260219080625.183283814%40infradead.org
2026-02-23 18:04:10 +01:00
..
…
…
…
…
…
…
…
…
2026-01-05 16:43:34 +01:00
2025-11-11 10:01:31 +01:00
…
2025-11-04 08:30:50 +01:00
…
…
…
…
2025-10-29 10:29:54 +01:00
2026-01-26 19:07:13 -08:00
…
…
…