Re: [PATCH UPDATE] x86: ignore spurious faults
From: Jeremy Fitzhardinge
Date: Fri Jan 25 2008 - 10:54:39 EST
Ingo Molnar wrote:
thanks, applied.
it would be nice to expose this ability of the architecture to the core
Linux kernel mprotect code as well, and let it skip on a TLB flush when
doing a RO->RW transition.
The usermode fault handler already effectively does this; this patch
just does it for kernel mode as well. I don't know if mprotect takes
advantage of this.
It could speed up valgrind and the other
mprotect() users i guess? [and UML too perhaps]
Not valgrind (it doesn't rely on mmap protections), but electric fence
perhaps.
J
--
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/