lkml.org 
[lkml]   [2008]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 1/3] mmu_notifier: Core code
On Thu, Jan 31, 2008 at 06:39:19PM -0800, Christoph Lameter wrote:
> On Thu, 31 Jan 2008, Robin Holt wrote:
>
> > Jack has repeatedly pointed out needing an unregister outside the
> > mmap_sem. I still don't see the benefit to not having the lock in the mm.
>
> I never understood why this would be needed. ->release removes the
> mmu_notifier right now.

Both xpmem and GRU have means of removing their context seperate from
process termination. XPMEMs is by closing the fd, I believe GRU is
the same. In the case of XPMEM, we are able to acquire the mmap_sem.
For GRU, I don't think it is possible, but I do not remember the exact
reason.

Thanks,
Robin


\
 
 \ /
  Last update: 2008-02-01 03:51    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site