diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/fork.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 42f20f565b16..73a442b7be6d 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -501,6 +501,7 @@ void mmput(struct mm_struct *mm) | |||
501 | 501 | ||
502 | if (atomic_dec_and_test(&mm->mm_users)) { | 502 | if (atomic_dec_and_test(&mm->mm_users)) { |
503 | exit_aio(mm); | 503 | exit_aio(mm); |
504 | ksm_exit(mm); | ||
504 | exit_mmap(mm); | 505 | exit_mmap(mm); |
505 | set_mm_exe_file(mm, NULL); | 506 | set_mm_exe_file(mm, NULL); |
506 | if (!list_empty(&mm->mmlist)) { | 507 | if (!list_empty(&mm->mmlist)) { |