Re: [PATCH v6 3/4] perf,x86: add Intel RAPL PMU support

From: Peter Zijlstra
Date: Mon Nov 11 2013 - 10:59:39 EST


On Fri, Nov 08, 2013 at 08:46:02PM +0100, Stephane Eranian wrote:


> +static DEFINE_SPINLOCK(rapl_hotplug_lock);

What is this thing protecting?

Like last time it appears to be used only from hotplug notifier
callbacks and those are already fully serialized.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/