Re: [PATCH 2/2] mm/page_alloc: recalculate some of node threshold when on/offline memory

From: Mel Gorman
Date: Tue Aug 09 2016 - 03:34:20 EST


On Tue, Aug 09, 2016 at 03:30:48PM +0900, js1304@xxxxxxxxx wrote:
> From: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx>
>
> Some of node threshold depends on number of managed pages in the node.
> When memory is going on/offline, it can be changed and we need to
> adjust them.
>
> This patch add recalculation to appropriate places and clean-up
> related function for better maintanance.
>
> Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx>

Acked-by: Mel Gorman <mgorman@xxxxxxxxxxxxxxxxxxx>

--
Mel Gorman
SUSE Labs