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.