OSDN Git Service

Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git...
[uclinux-h8/linux.git] / mm / oom_kill.c
index 3934ff5..832fb33 100644 (file)
@@ -793,7 +793,7 @@ static inline bool __task_will_free_mem(struct task_struct *task)
         * coredump_task_exit(), so the oom killer cannot assume that
         * the process will promptly exit and release memory.
         */
-       if (sig->flags & SIGNAL_GROUP_COREDUMP)
+       if (sig->core_state)
                return false;
 
        if (sig->flags & SIGNAL_GROUP_EXIT)