Messages in this thread |  | | | Date | Fri, 25 Jan 2008 07:54:26 -0800 | | From | Jeremy Fitzhardinge <> | | Subject | Re: [PATCH UPDATE] x86: ignore spurious faults |
| |
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
|  |