diff options
Diffstat (limited to 'mm/oom_kill.c')
-rw-r--r-- | mm/oom_kill.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/oom_kill.c b/mm/oom_kill.c index 4198e000f41a..46bf2ed5594c 100644 --- a/mm/oom_kill.c +++ b/mm/oom_kill.c | |||
@@ -521,11 +521,11 @@ static void oom_kill_process(struct task_struct *p, gfp_t gfp_mask, int order, | |||
521 | pr_err("Kill process %d (%s) sharing same memory\n", | 521 | pr_err("Kill process %d (%s) sharing same memory\n", |
522 | task_pid_nr(p), p->comm); | 522 | task_pid_nr(p), p->comm); |
523 | task_unlock(p); | 523 | task_unlock(p); |
524 | force_sig(SIGKILL, p); | 524 | do_send_sig_info(SIGKILL, SEND_SIG_FORCED, p, true); |
525 | } | 525 | } |
526 | 526 | ||
527 | set_tsk_thread_flag(victim, TIF_MEMDIE); | 527 | set_tsk_thread_flag(victim, TIF_MEMDIE); |
528 | force_sig(SIGKILL, victim); | 528 | do_send_sig_info(SIGKILL, SEND_SIG_FORCED, victim, true); |
529 | } | 529 | } |
530 | #undef K | 530 | #undef K |
531 | 531 | ||