Skip to main content

partition_chunks

Function partition_chunks 

Source
fn partition_chunks(
    domain: &Cpumask,
    cpu_to_partition: &HashMap<usize, usize>,
) -> Vec<(usize, Vec<usize>)>
Expand description

Group the CPUs of domain into chunks by partition (LLC), ordered by partition id. CPUs without a partition become one-CPU chunks at the end.