2008-10-25 16:21:23

by Qinghuang Feng

[permalink] [raw]
Subject: [PATCH]mm/oom_kill.c: cleanup kerneldoc of badness()

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

Signed-off-by: Qinghuang Feng <[email protected]>
---
diff --git a/mm/oom_kill.c b/mm/oom_kill.c
index 64e5b4b..460f90e 100644
--- a/mm/oom_kill.c
+++ b/mm/oom_kill.c
@@ -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


2008-10-25 17:59:37

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH]mm/oom_kill.c: cleanup kerneldoc of badness()

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.
>
> Signed-off-by: Qinghuang Feng <[email protected]>

Acked-by: Randy Dunlap <[email protected]>

Thanks.

> ---
> diff --git a/mm/oom_kill.c b/mm/oom_kill.c
> index 64e5b4b..460f90e 100644
> --- a/mm/oom_kill.c
> +++ b/mm/oom_kill.c
> @@ -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