Re: [PATCH] perf_events: improve x86 event scheduling (v5)

From: Peter Zijlstra
Date: Thu Jan 21 2010 - 05:36:46 EST


On Mon, 2010-01-18 at 10:58 +0200, Stephane Eranian wrote:
> void hw_perf_enable(void)
> {


> + cpuc->n_added = 0;
> + perf_events_lapic_init();

Just wondering, why do we need that lapic_init() there?

> + }
> x86_pmu.enable_all();
> }

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