Re: [RFC] perf, x86: Segregate PMU workaraunds intox86_pmu_quirk_ops structure

From: Cyrill Gorcunov
Date: Tue Jun 01 2010 - 17:26:09 EST


On Mon, May 31, 2010 at 08:45:53PM +0400, Cyrill Gorcunov wrote:
...
>
> So I guess plain test may be more-less fine here, hmm?
>
> -- Cyrill
> ---
> perf, x86: Make a second write to performance counter when needed
>
> On Netburst cpu we need a second write to performance counter to
> be sure it's updated properly.
>
> Signed-off-by: Cyrill Gorcunov <gorcunov@xxxxxxxxxx>
> ---
> arch/x86/kernel/cpu/perf_event.c | 10 ++++++++++
> arch/x86/kernel/cpu/perf_event_p4.c | 9 +++++++++
> 2 files changed, 19 insertions(+)
>
...

Ping? Any objections/ideas on this approach?

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