Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5a291b98 authored by Ram Gupta's avatar Ram Gupta Committed by Linus Torvalds
Browse files

[PATCH] oom-kill: update comments to reflect current code



Update the comments for __oom_kill_task() to reflect the code changes.

Signed-off-by: default avatarRam Gupta <r.gupta@astronautics.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 83e33a47
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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)
{