Skip to main content

plan_primary_mask

Function plan_primary_mask 

Source
pub fn plan_primary_mask(primary_cpus: &[u32], nr_online: usize) -> CapacityPlan
Expand description

Decide the primary set from the discovered big cores.

A primary list covering every online CPU means there is no capacity asymmetry to exploit; an empty list means discovery produced no usable data. Both fall back to the uniform-capacity behavior.