Re: [tip:perfcounters/core] perf_counter: x86: Fix call-chainsupport to use NMI-safe methods

From: Mathieu Desnoyers
Date: Mon Jun 15 2009 - 18:49:27 EST


* H. Peter Anvin (hpa@xxxxxxxxx) wrote:
> Mathieu Desnoyers wrote:
> >
> > I'm just thinking that touching or not vmalloc'd areas should not be the
> > first thing that comes into the mind of someone willing to write a
> > nmi-hooking tracer or oprofile module.
> >
>
> But is HAS to be. Otherwise you're in deadlock city anyway.
>

Where is the kernel page fault handler grabbing any lock to service
in-kernel page faults exactly ?

Those are usually considered as utterly simple page table fixups,
nothing more.

Mathieu

> -hpa
>

--
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
--
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/