Messages in this thread Patch in this message | | | Date | Fri, 9 Sep 2005 17:36:42 +0200 | From | Colin Leroy <> | Subject | Re: [PATCH] fix oom_kill_task |
| |
Hi,
Alternatively, if sending SIGKILL is intended, here's the patch that fixes the comment.
Thanks,
Signed-Off-By: Colin Leroy <colin@colino.net> --- a/mm/oom_kill.c 2005-09-09 17:29:08.000000000 +0200 +++ b/mm/oom_kill.c 2005-09-09 17:32:47.000000000 +0200 @@ -168,11 +168,6 @@ static struct task_struct * select_bad_p return chosen; } -/** - * We must be careful though to never send SIGKILL a process with - * CAP_SYS_RAW_IO set, send SIGTERM instead (but it's unlikely that - * we select a process with CAP_SYS_RAW_IO set). - */ static void __oom_kill_task(task_t *p) { if (p->pid == 1) { - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |