Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756664AbcDEBeW (ORCPT ); Mon, 4 Apr 2016 21:34:22 -0400 Received: from LGEAMRELO11.lge.com ([156.147.23.51]:45878 "EHLO lgeamrelo11.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752283AbcDEBeV (ORCPT ); Mon, 4 Apr 2016 21:34:21 -0400 X-Original-SENDERIP: 156.147.1.126 X-Original-MAILFROM: iamjoonsoo.kim@lge.com X-Original-SENDERIP: 10.177.222.138 X-Original-MAILFROM: iamjoonsoo.kim@lge.com Date: Tue, 5 Apr 2016 10:36:14 +0900 From: Joonsoo Kim To: Andrew Morton Cc: Rik van Riel , Johannes Weiner , Mel Gorman , Laura Abbott , Minchan Kim , Marek Szyprowski , Michal Nazarewicz , "Aneesh Kumar K.V" , Vlastimil Babka , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/4] mm/writeback: correct dirty page calculation for highmem Message-ID: <20160405013613.GA27945@js1304-P5Q-DELUXE> References: <1459476610-31076-1-git-send-email-iamjoonsoo.kim@lge.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1459476610-31076-1-git-send-email-iamjoonsoo.kim@lge.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 846 Lines: 22 On Fri, Apr 01, 2016 at 11:10:07AM +0900, js1304@gmail.com wrote: > From: Joonsoo Kim > > 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 > --- > 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.