Skip to content

Commit

Permalink
[PATCH] mm: fix typos in comments in mm/oom_kill.c
Browse files Browse the repository at this point in the history
This fixes a few typos in the comments in mm/oom_kill.c.

Signed-off-by: David S. Peterson <dsp@llnl.gov>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Dave Peterson authored and Linus Torvalds committed Jun 23, 2006
1 parent fadd8fb commit 6937a25
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 @@ -26,7 +26,7 @@ int sysctl_panic_on_oom;
/* #define DEBUG */

/**
* oom_badness - calculate a numeric value for how bad this task has been
* badness - calculate a numeric value for how bad this task has been
* @p: task struct of which task we should calculate
* @uptime: current uptime in seconds
*
Expand Down Expand Up @@ -201,7 +201,7 @@ static struct task_struct *select_bad_process(unsigned long *ppoints)
continue;

/*
* This is in the process of releasing memory so for wait it
* This is in the process of releasing memory so wait for it
* to finish before killing some other task by mistake.
*/
releasing = test_tsk_thread_flag(p, TIF_MEMDIE) ||
Expand Down Expand Up @@ -307,7 +307,7 @@ static int oom_kill_process(struct task_struct *p, unsigned long points,
}

/**
* oom_kill - kill the "best" process when we run out of memory
* out_of_memory - kill the "best" process when we run out of memory
*
* If we run out of memory, we have the choice between either
* killing a random task (bad), letting the system crash (worse)
Expand Down

0 comments on commit 6937a25

Please sign in to comment.