Skip to contentSkip to conversation

mm/oom_kill.c: cleanup kerneldoc of badness()

PATCH In review Qinghuang Feng 2 participants 2 messages Oct 25, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mm/oom_kill.c: cleanup kerneldoc of badness()

Paramter @mem has been removed since v2.6.26, now delete it's comment.

---

mm/oom_kill.c +0 -1
index 64e5b4b..460f90e 100644
@@ -38,7 +38,6 @@ static DEFINE_SPINLOCK(zone_scan_mutex);
  * 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
- * @mem: target memory controller
  *
  * The formula used is relatively simple and documented inline in the
  * function. The main rationale is that we want to select a good task

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · On Sun, 26 Oct 2008 00:21:08 +0800 Qinghuang Feng wrote:

Paramter @mem has been removed since v2.6.26, now delete it's comment.

Thanks.

mm/oom_kill.c static DEFINE_SPINLOCK(zone_scan_mutex); · line 43

Quoted 13 lines

---

mm/oom_kill.c +0 -1
index 64e5b4b..460f90e 100644
@@ -38,7 +38,6 @@ static DEFINE_SPINLOCK(zone_scan_mutex);
  * 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
- * @mem: target memory controller
  *
  * The formula used is relatively simple and documented inline in the
  * function. The main rationale is that we want to select a good task

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>