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    [W:0.027 / U:0.132 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site