Re: [PATCH V3 2/2] x86/perf/intel/uncore: Make Intel rapl modular

From: Thomas Gleixner
Date: Sun Mar 20 2016 - 08:05:55 EST


On Sat, 19 Mar 2016, kan.liang@xxxxxxxxx wrote:
>
> +static struct notifier_block rapl_cpu_nb = {
> + .notifier_call = rapl_cpu_notifier,

Hmm. Missed that in the first round. That lacks

.priority = CPU_PRI_PERF + 1,

because the driver needs to migrate its stuff away before the core code gets
notified about the cpu going down.

Thanks,

tglx