mmu-notifiers: core
[deliverable/linux.git] / mm / mmap.c
index e5f9cb83d6d4fad10631872759170c5611fabf67..245c3d69067b7bc4c0b83ba2fa6a08df28bc7f9b 100644 (file)
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -26,6 +26,7 @@
 #include <linux/mount.h>
 #include <linux/mempolicy.h>
 #include <linux/rmap.h>
+#include <linux/mmu_notifier.h>
 
 #include <asm/uaccess.h>
 #include <asm/cacheflush.h>
@@ -2061,6 +2062,7 @@ void exit_mmap(struct mm_struct *mm)
 
        /* mm's last user has gone, and its about to be pulled down */
        arch_exit_mmap(mm);
+       mmu_notifier_release(mm);
 
        lru_add_drain();
        flush_cache_mm(mm);
This page took 0.035485 seconds and 5 git commands to generate.