Re: [PATCH] perf cgroups: Fix perf_cgroup_switch schedule in warning

From: Peter Zijlstra
Date: Tue Oct 02 2012 - 09:11:00 EST


On Tue, 2012-10-02 at 14:48 +0200, Stephane Eranian wrote:
> Not sure, I understand what active_pmu represents.

Its a 'random' pmu of those that share the cpuctx, exactly so you can
limit pmu iterations to those with unique cpuctx instances.

Its assigned when we create a cpuctx to the pmu creating it, its
re-assigned on pmu destruction (if that ever were to happen).

I realize the name isn't really helping but at the time I couldn't come
up with anything better :/

If you've got a good suggestion I'd be glad to rename it.
--
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/