lkml.org 
[lkml]   [2008]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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



\
 
 \ /
  Last update: 2008-01-25 16:57    [from the cache]
©2003-2011 Jasper Spaans