Re: [PATCH 3/6] perf: Round robin groups of events usinglist_rotate_left()

From: Peter Zijlstra
Date: Thu Jan 14 2010 - 07:25:44 EST


On Sun, 2010-01-10 at 02:38 +0100, Frederic Weisbecker wrote:
> This is more proper that doing it through a list_for_each_entry()
> that breaks after the first entry.
>
> Signed-off-by: Frederic Weisbecker <fweisbec@xxxxxxxxx>
> Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> Cc: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
> Cc: Paul Mackerras <paulus@xxxxxxxxx>
> ---

> + list_rotate_left(&ctx->pinned_groups);
> + list_rotate_left(&ctx->flexible_groups);

Just wondering, pinned events were supposed to be on the pmu at all
times, right?

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