]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - kernel/fork.c
mm, oom: get rid of signal_struct::oom_victims
[mirror_ubuntu-zesty-kernel.git] / kernel / fork.c
index 5650e35dda433eb2c5fa35507ca491c4b0db7434..9a8ec66cd4df5103c002dc105425bd1446bb7a99 100644 (file)
@@ -862,6 +862,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);
 }