Skip to main content

FAIR_STARVATION_THRESHOLD_TICKS

Constant FAIR_STARVATION_THRESHOLD_TICKS 

Source
const FAIR_STARVATION_THRESHOLD_TICKS: u64 = 100;
Expand description

Fair starvation threshold in ticks.

A Fair task that has waited this many ticks without being selected is boosted to the front of its vruntime position. At TIMER_HZ=100: 100 ticks = 1 second. This prevents indefinite starvation when RT tasks consume most of the CPU.