[lkml]   [2008]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction abstraction
    Benjamin Herrenschmidt wrote:
    > On Mon, 2008-06-16 at 04:30 -0700, Jeremy Fitzhardinge wrote:
    >> The only current user of this interface is mprotect
    > Do you plan to use it with fork ultimately ?

    Good point, I'd overlooked that. I guess that means using it in

    At present the x86 ptep_set_wrprotect() just uses clear_bit on the pte,
    which is a locked cycle. Is that significantly cheaper than an xchg +
    set? (Same number of locked operations...)


     \ /
      Last update: 2008-06-19 02:03    [W:3.137 / U:0.724 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site