summaryrefslogtreecommitdiffstats
path: root/mm/oom_kill.c
diff options
context:
space:
mode:
authorRam Gupta <ram.gupta5@gmail.com>2006-09-25 23:31:54 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-26 08:48:52 -0700
commit5a291b98b2116d669449885abef3000f747504b3 (patch)
tree25b2c9a9e989bea0a860ae13dffbe0e3a243012b /mm/oom_kill.c
parent83e33a4711760469f5c3861b8ffea4947656d4eb (diff)
downloadlinux-5a291b98b2116d669449885abef3000f747504b3.tar.gz
linux-5a291b98b2116d669449885abef3000f747504b3.tar.bz2
linux-5a291b98b2116d669449885abef3000f747504b3.zip
[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 <r.gupta@astronautics.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/oom_kill.c')
-rw-r--r--mm/oom_kill.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mm/oom_kill.c b/mm/oom_kill.c
index c5e384000585..f1c0ef1fd21f 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)
{