[PATCH]mm:Updating comments to reflect current code
From: Ram Gupta
Date: Thu Aug 31 2006 - 20:01:53 EST
This patch updates the comments for __oom_kill_task function to
reflect the code changes. Please apply
Signed-off-by: Ram Gupta<r.gupta@xxxxxxxxxxxxxxxx>
-----
--- linux-2.6.18-rc5-rg/mm/oom_kill.c.orig 2006-08-31
18:03:29.000000000 -0500
+++ linux-2.6.18-rc5-rg/mm/oom_kill.c 2006-08-31 18:17:50.000000000 -0500
@@ -221,9 +221,9 @@ static struct task_struct *select_bad_pr
}
/**
- * 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)
{
Thanks
Ram Gupta
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/