From: Ram Gupta Date: Tue, 26 Sep 2006 06:31:54 +0000 (-0700) Subject: [PATCH] oom-kill: update comments to reflect current code X-Git-Tag: v2.6.19-rc1~1160 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=5a291b98b2116d669449885abef3000f747504b3;p=linux-2.6-omap-h63xx.git [PATCH] oom-kill: update comments to reflect current code Update the comments for __oom_kill_task() to reflect the code changes. Signed-off-by: Ram Gupta Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/oom_kill.c b/mm/oom_kill.c index c5e38400058..f1c0ef1fd21 100644 --- a/mm/oom_kill.c +++ b/mm/oom_kill.c @@ -250,9 +250,9 @@ static struct task_struct *select_bad_process(unsigned long *ppoints) } /** - * 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). + * Send SIGKILL to the selected process irrespective of CAP_SYS_RAW_IO + * flag though it's unlikely that we select a process with CAP_SYS_RAW_IO + * set. */ static void __oom_kill_task(struct task_struct *p, const char *message) {