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

From: Thomas Gleixner
Date: Wed Jul 13 2016 - 05:22:31 EST


On Tue, 12 Jul 2016, Fenghua Yu wrote:
> static int __init intel_rdt_late_init(void)
> {
> struct cpuinfo_x86 *c = &boot_cpu_data;
> @@ -261,9 +331,15 @@ static int __init intel_rdt_late_init(void)
> goto out_err;
> }
>
> + cpu_notifier_register_begin();
> +
> for_each_online_cpu(i)
> rdt_cpumask_update(i);
>
> + __hotcpu_notifier(intel_rdt_cpu_notifier, 0);

CPU hotplug notifiers are phased out. Please use the new state machine
interfaces.

Thanks,

tglx