Re: [patch 05/24] perfmon: X86 generic code (x86)

From: Thomas Gleixner
Date: Thu Nov 27 2008 - 05:30:19 EST


On Thu, 27 Nov 2008, stephane eranian wrote:
> > Lockless buffers are nasty, but it works in oprofile at least.
> >
> > Taking out NMis in the first version at least seems like a reasonable
> > solution. After all you can still use standard oprofile where they work
> > just fine.
> >
> The only reason why I have to deal with NMI is not so much to allow
> for profiling irq-off regions but because I have to share the PMU with
> the NMI watchdog. Otherwise I'd have to fail or disable the NMI watchdog
> on the fly.

We can limit the functionality here. Fail or disable the NMI watchdog
are both valid solutions.

Thanks,

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