Skip to content

Commit

Permalink
[PATCH] oom-kill: update comments to reflect current code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ram Gupta authored and Linus Torvalds committed Sep 26, 2006
1 parent 83e33a4 commit 5a291b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mm/oom_kill.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 5a291b9

Please sign in to comment.