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

From: Randy Dunlap
Date: Sat Oct 25 2008 - 13:59:38 EST


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 <qhfeng.kernel@xxxxxxxxx>

Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

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
--
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/