]> Git Repo - linux.git/blobdiff - kernel/fork.c
rtlwifi: Use dev_kfree_skb_irq instead of kfree_skb
[linux.git] / kernel / fork.c
index 5650e35dda433eb2c5fa35507ca491c4b0db7434..6d42242485cb2863e940ae0d54983a2d34789096 100644 (file)
@@ -854,6 +854,7 @@ static inline void __mmput(struct mm_struct *mm)
        ksm_exit(mm);
        khugepaged_exit(mm); /* must run before exit_mmap */
        exit_mmap(mm);
+       mm_put_huge_zero_page(mm);
        set_mm_exe_file(mm, NULL);
        if (!list_empty(&mm->mmlist)) {
                spin_lock(&mmlist_lock);
@@ -862,6 +863,7 @@ static inline void __mmput(struct mm_struct *mm)
        }
        if (mm->binfmt)
                module_put(mm->binfmt->module);
+       set_bit(MMF_OOM_SKIP, &mm->flags);
        mmdrop(mm);
 }
 
This page took 0.030269 seconds and 4 git commands to generate.