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

From: H. Peter Anvin
Date: Mon Jun 15 2009 - 21:32:40 EST


Mathieu Desnoyers wrote:
>
> 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.
>

It doesn't, *because it doesn't have to*. Your proposal requires that
page faults can be handled inside the page fault handler, and that's a
pretty tall order.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

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