Re: [PATCH v3 10/11] perf/x86/intel: Perform rotation on Intel CQM RMIDs

From: Peter Zijlstra
Date: Fri Nov 07 2014 - 08:00:11 EST


On Thu, Nov 06, 2014 at 12:23:21PM +0000, Matt Fleming wrote:
> +static unsigned int __rotation_period = 250; /* ms */

There's two things being conflated here I think, even though they're
related.

The one is how long we'll let RMIDs settle before trying to reuse them,
the second is how often we attempt the rotation. Clearly the rotation
time is limited by the settle time, but they need not be the same.

Also, we already have a per pmu rotation interval in
pmu::hrtimer_interval_ms, I suppose we should reuse that to be
consistent.
--
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/