Re: [PATCH 1/4] mm/writeback: correct dirty page calculation for highmem

From: Joonsoo Kim
Date: Mon Apr 04 2016 - 21:34:34 EST


On Fri, Apr 01, 2016 at 11:10:07AM +0900, js1304@xxxxxxxxx wrote:
> From: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx>
>
> ZONE_MOVABLE could be treated as highmem so we need to consider it for
> accurate calculation of dirty pages. And, in following patches, ZONE_CMA
> will be introduced and it can be treated as highmem, too. So, instead of
> manually adding stat of ZONE_MOVABLE, looping all zones and check whether
> the zone is highmem or not and add stat of the zone which can be treated
> as highmem.
>
> Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx>
> ---
> mm/page-writeback.c | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)

Hello, Andrew.

Could you review and merge these simple fixup and cleanup patches?
I'd like to send ZONE_CMA patchset v2 based on linux-next after this
series is merged to linux-next.

Thanks.