[PATCH 1/2] mm: fix typos in comments in mm/oom_kill.c

From: Dave Peterson
Date: Thu Apr 13 2006 - 17:53:31 EST


This fixes a few typos in the comments in mm/oom_kill.c.

Signed-Off-By: David S. Peterson <dsp@xxxxxxxx>
---

Index: linux-2.6.17-rc1-oom/mm/oom_kill.c
===================================================================
--- linux-2.6.17-rc1-oom.orig/mm/oom_kill.c 2006-03-19 21:53:29.000000000 -0800
+++ linux-2.6.17-rc1-oom/mm/oom_kill.c 2006-04-13 14:25:16.000000000 -0700
@@ -25,7 +25,7 @@
/* #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
*
@@ -190,7 +190,7 @@ static struct task_struct *select_bad_pr
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) ||
@@ -291,7 +291,7 @@ static struct mm_struct *oom_kill_proces
}

/**
- * 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)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/