[PATCH]mm:Updating comments to reflect current code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch updates the comments for __oom_kill_task function to
reflect the code changes. Please apply

Signed-off-by: Ram Gupta<[email protected]>
-----

--- 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux