lkml.org 
[lkml]   [2005]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [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/
\
 
 \ /
  Last update: 2005-09-09 17:39    [W:0.294 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site