On Sat, 26 Jan 2008, Robin Holt wrote:> But what if the caller is already holding the mmap_sem? Why force the> acquire into this function? Since we are dealing with a semaphore/mutex,Then you need to call __register_mmu_notifier.