Re: [PATCH v2 2/3] perf: use hrtimer for event multiplexing

From: Peter Zijlstra
Date: Thu Sep 13 2012 - 08:17:52 EST


On Wed, 2012-09-12 at 17:37 +0200, Stephane Eranian wrote:

> Note however that the rotation_list is still used in perf_event_task_tick()
> to iterate over the ctx which needs unthrottling. We would have to switch
> that loop over to a for-each-pmu() which would necessary incur more
> iterations as it would include all the SW PMUs.

Oh urgh, right. I think that was one of the reasons I bailed on the
hrtimer thing, the frequency and throttle stuff.

ctx->nr_freq and needs_unthr could help, but yeah.
--
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/