Re: [PATCH] x86, perfctr: remove unused funcavail_to_resrv_perfctr_nmi()

From: Ingo Molnar
Date: Mon Dec 28 2009 - 05:00:54 EST



* Cyrill Gorcunov <gorcunov@xxxxxxxxx> wrote:

> > Not that i know of.
>
> ok, then we could apply this patch I think, at least for a while.

yeah, i have applied it.

> > In fact we should transform/migrate the NMI watchdog driver by making it
> > based on a kernel-internal created perf event. (which is what the NMI
> > watchdog really is: a periodic NMI event occuring once per second and
> > running a callback function.)
>
> Yes, this would be great. I'll try to find out some time for this task,
> though no promises :) If someone get it done earlier I would really
> appreciate.

Feel free to do it. We could do it gradual. Maybe we could also then gradually
remove perfctr code for CPU variants that already have perf events support.

Plus later on we could carefully identify bits of APIC support code in
perfctr.c and turn those into minimal perf events PMU drivers.

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