Re: [RFC PATCH] x86 NMI-safe INT3 and Page Fault (v5)
From: H. Peter Anvin
Date: Mon Apr 21 2008 - 13:36:17 EST
Pavel Machek wrote:
There is also the page fault case. I think putting this test in
ret_from_exception would be both safe (it is executed for any
exception return) and fast (exceptions are rare).
Eh? I thought that page fault is one of the hottest paths in kernel
(along with syscall and packet receive/send)...
Pavel
Yeah, and the concept of handling page faults inside an NMI handler is
pure fantasy.
-hpa
--
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/