mm, oom: get rid of signal_struct::oom_victims
[cascardo/linux.git] / kernel / fork.c
index 5650e35..9a8ec66 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);
 }