Re: [PATCH v2 00/11] perf: Intel Cache QoS Monitoring support

From: Andi Kleen
Date: Thu Oct 02 2014 - 11:05:03 EST


> I didn't include support for that because none of the other x86 pmu
> drivers are buildable as modules. Is there a reason for that?

Not done yet.

Uncore drivers are definitely on the list.

> It's much simpler to just build it in and enable it based on
> CONFIG_PERF_EVENTS + CONFIG_INTEL_CPU. In fact, that's one of the things

> I've always liked about the pmu drivers, if I move to a new machine and
> turn on PERF_EVENTS the correct drivers will be run.

Yes, we should just get rid of Kconfig and give everyone
the same kernel like Windows. Much simpler for everyone,
wouldn't it be?

I'm sure you can easily see the flaws in the argument.

BTW CONFIG_PERF_EVENTS cannot be disabled on x86 currently,
so right now the only way to not get CQM would be to
not support Intel CPUs ...

-Andi
--
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/