Re: [PATCH 1/3] clean up setup_per_zone_pages_min

From: Minchan Kim
Date: Wed May 20 2009 - 05:58:24 EST


Hi, Mel.

On Wed, 20 May 2009 09:54:16 +0100
Mel Gorman <mel@xxxxxxxxx> wrote:

> On Wed, May 20, 2009 at 04:18:53PM +0900, Minchan Kim wrote:
> >
> > Mel changed zone->pages_[high/low/min] with zone->watermark array.
> > So, setup_per_zone_pages_min also have to be changed.
> >
>
> Just to be clear, this is a function renaming to match the new zone
> field name, not something I missed. As the function changes min, low and
> max, a better name might have been setup_per_zone_watermarks but whether

At first, I thouht, too. But It's handle of min_free_kbytes.
Documentation said, it's to compute a watermark[WMARK_MIN].
I think many people already used that knob to contorl pages_min to keep the
low pages.

So, I determined function name is proper now.
If setup_per_zone_watermark is better than it, we also have to change with
documentation.

> you go with that name or not, this is better than what is there so;
>
> Acked-by: Mel Gorman <mel@xxxxxxxxx>


--
Kinds Regards
Minchan Kim
--
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/