Re: [PATCH 06/32] x86/intel_rdt: Hot cpu support for Cache Allocation

From: David Carrillo-Cisneros
Date: Wed Jul 13 2016 - 20:41:25 EST


> +static inline void intel_rdt_cpu_start(int cpu)
> +{
> + struct intel_pqr_state *state = &per_cpu(pqr_state, cpu);
> +
> + state->closid = 0;
> + mutex_lock(&rdt_group_mutex);
> + if (rdt_cpumask_update(cpu))
> + smp_call_function_single(cpu, cbm_update_msrs, NULL, 1);
> + mutex_unlock(&rdt_group_mutex);

what happens if cpu's with a cache_id not available at boot comes online?