Re: [PATCH -tip, final] perf, x86: Add hw_watchdog_set_attr() in asake of nmi-watchdog on P4

From: Ingo Molnar
Date: Tue Jul 05 2011 - 10:57:14 EST



* Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> wrote:

> On Tue, 2011-07-05 at 15:31 +0200, Ingo Molnar wrote:
> > So there's lots of options to fix/improve this more intelligently.
>
> Sure, and I like the alternative encoding thing best, but doing
> that will take time, in the meantime this patch, which is
> relatively small (and easy to revert once we get something better
> going) does fix a problem for those few unfortunate souls still
> using P4 hardware.

Well, the BUS_CYCLES thing looks similarly straightforward and should
result in an even simpler patch.

On P4 BUS_CYCLES would be able to co-exist with CPU_CYCLES so it will
solve the P4 issue naturally as well.

Thanks,

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/