aboutsummaryrefslogtreecommitdiffstats
path: root/mm/oom_kill.c
diff options
context:
space:
mode:
authorRam Gupta <ram.gupta5@gmail.com>2006-09-26 02:31:54 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-26 11:48:52 -0400
commit5a291b98b2116d669449885abef3000f747504b3 (patch)
tree25b2c9a9e989bea0a860ae13dffbe0e3a243012b /mm/oom_kill.c
parent83e33a4711760469f5c3861b8ffea4947656d4eb (diff)
[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)
250} 250}
251 251
252/** 252/**
253 * We must be careful though to never send SIGKILL a process with 253 * Send SIGKILL to the selected process irrespective of CAP_SYS_RAW_IO
254 * CAP_SYS_RAW_IO set, send SIGTERM instead (but it's unlikely that 254 * flag though it's unlikely that we select a process with CAP_SYS_RAW_IO
255 * we select a process with CAP_SYS_RAW_IO set). 255 * set.
256 */ 256 */
257static void __oom_kill_task(struct task_struct *p, const char *message) 257static void __oom_kill_task(struct task_struct *p, const char *message)
258{ 258{