diff options
-rw-r--r-- | mm/oom_kill.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/oom_kill.c b/mm/oom_kill.c index d13a33918fa2..c12680993ff3 100644 --- a/mm/oom_kill.c +++ b/mm/oom_kill.c | |||
@@ -608,6 +608,8 @@ void oom_kill_process(struct oom_control *oc, struct task_struct *p, | |||
608 | continue; | 608 | continue; |
609 | if (unlikely(p->flags & PF_KTHREAD)) | 609 | if (unlikely(p->flags & PF_KTHREAD)) |
610 | continue; | 610 | continue; |
611 | if (is_global_init(p)) | ||
612 | continue; | ||
611 | if (p->signal->oom_score_adj == OOM_SCORE_ADJ_MIN) | 613 | if (p->signal->oom_score_adj == OOM_SCORE_ADJ_MIN) |
612 | continue; | 614 | continue; |
613 | 615 | ||