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

From: Matt Fleming
Date: Fri Nov 14 2014 - 07:35:40 EST


On Fri, 07 Nov, at 01:38:36PM, Peter Zijlstra wrote:
>
> For optional goodness:
>
> if (nr_limbo > max_scan_size)
> break;
>
> Which will limit the number of RMIDs you'll scan from the IPI, and
> thereby limit the time taken there.

To limit the amount of magic numbers we've got in this code, I'm going
to punt on this optional feature.

That is, unless you can provide a value for max_scan_size.

--
Matt Fleming, Intel Open Source Technology Center
--
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/