const FAIR_STARVATION_THRESHOLD_TICKS: u64 = 2;Expand description
Fair starvation threshold in ticks.
A Fair task that has waited this many ticks without being selected is boosted ahead of the vruntime order. At TIMER_HZ=100 this bounds wakeup latency: with the old value of 100, a task woken by a 10 ms timer only ran after ~1 second, which made every telnetd read/write round-trip take a second. 2 ticks (20 ms) keeps the scheduler responsive while still preferring the vruntime order whenever it is usable.