lkml.org 
[lkml]   [2008]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: EMM: disable other notifiers before register and unregister
On Thu, 3 Apr 2008, Christoph Lameter wrote:

> > faults). So it should be ok to take all those locks inside the
> > mmap_sem and implement a lock_vm(mm) unlock_vm(mm). I'll think more
> > about this hammer approach while I try to implement it...
>
> Well good luck. Hopefully we will get to something that works.

Another hammer to use may be the freezer from software suspend. With that
you can get all tasks of a process into a definite state. Then take the
mmap_sem writably. But then there is still try_to_unmap and friends that
can race.




\
 
 \ /
  Last update: 2008-04-03 22:29    [W:0.105 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site