Messages in this thread | | | Date | Wed, 18 Jun 2008 17:24:30 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction abstraction |
| |
On Wed, 18 Jun 2008, Jeremy Fitzhardinge wrote: > > Along the lines of:
Hell no. There's a reason we have a special set_wrprotect() thing. We can do it more efficiently on native hardware by just clearing the bit atomically. No need to do the cmpxchg games.
Linus
| |