aboutsummaryrefslogtreecommitdiffstats
path: root/mm/oom_kill.c
diff options
context:
space:
mode:
authorDave Peterson <dsp@llnl.gov>2006-06-23 05:03:13 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-23 10:42:47 -0400
commit6937a25cff818d32d0f9ff58a518c9ab96760aeb (patch)
tree233fd6927556b83818cdb31c1656b1066643d8dc /mm/oom_kill.c
parentfadd8fbd153c12963f8fe3c9ef7f8967f286f98b (diff)
[PATCH] mm: fix typos in comments in mm/oom_kill.c
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>
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 f9bb3cf3238..d46ed0f1dc0 100644
--- a/mm/oom_kill.c
+++ b/mm/oom_kill.c
@@ -26,7 +26,7 @@ int sysctl_panic_on_oom;
26/* #define DEBUG */ 26/* #define DEBUG */
27 27
28/** 28/**
29 * oom_badness - calculate a numeric value for how bad this task has been 29 * badness - calculate a numeric value for how bad this task has been
30 * @p: task struct of which task we should calculate 30 * @p: task struct of which task we should calculate
31 * @uptime: current uptime in seconds 31 * @uptime: current uptime in seconds
32 * 32 *
@@ -201,7 +201,7 @@ static struct task_struct *select_bad_process(unsigned long *ppoints)
201 continue; 201 continue;
202 202
203 /* 203 /*
204 * This is in the process of releasing memory so for wait it 204 * This is in the process of releasing memory so wait for it
205 * to finish before killing some other task by mistake. 205 * to finish before killing some other task by mistake.
206 */ 206 */
207 releasing = test_tsk_thread_flag(p, TIF_MEMDIE) || 207 releasing = test_tsk_thread_flag(p, TIF_MEMDIE) ||
@@ -307,7 +307,7 @@ static int oom_kill_process(struct task_struct *p, unsigned long points,
307} 307}
308 308
309/** 309/**
310 * oom_kill - kill the "best" process when we run out of memory 310 * out_of_memory - kill the "best" process when we run out of memory
311 * 311 *
312 * If we run out of memory, we have the choice between either 312 * If we run out of memory, we have the choice between either
313 * killing a random task (bad), letting the system crash (worse) 313 * killing a random task (bad), letting the system crash (worse)