|
@@ -852,8 +852,7 @@ void oom_kill_process(struct oom_control *oc, struct task_struct *p,
|
|
continue;
|
|
continue;
|
|
if (same_thread_group(p, victim))
|
|
if (same_thread_group(p, victim))
|
|
continue;
|
|
continue;
|
|
- if (unlikely(p->flags & PF_KTHREAD) || is_global_init(p) ||
|
|
|
|
- p->signal->oom_score_adj == OOM_SCORE_ADJ_MIN) {
|
|
|
|
|
|
+ if (unlikely(p->flags & PF_KTHREAD) || is_global_init(p)) {
|
|
/*
|
|
/*
|
|
* We cannot use oom_reaper for the mm shared by this
|
|
* We cannot use oom_reaper for the mm shared by this
|
|
* process because it wouldn't get killed and so the
|
|
* process because it wouldn't get killed and so the
|