From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751425AbeDEIKT (ORCPT ); Thu, 5 Apr 2018 04:10:19 -0400 Received: from lgeamrelo13.lge.com ([156.147.23.53]:39376 "EHLO lgeamrelo13.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751249AbeDEIKQ (ORCPT ); Thu, 5 Apr 2018 04:10:16 -0400 X-Original-SENDERIP: 156.147.1.151 X-Original-MAILFROM: iamjoonsoo.kim@lge.com X-Original-SENDERIP: 10.177.220.142 X-Original-MAILFROM: iamjoonsoo.kim@lge.com Date: Thu, 5 Apr 2018 17:10:13 +0900 From: Joonsoo Kim To: Michal Hocko Cc: Andrew Morton , "Kirill A . Shutemov" , Mel Gorman , Vlastimil Babka , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm/thp: don't count ZONE_MOVABLE as the target for freepage reserving Message-ID: <20180405081013.GB631@js1304-desktop> References: <1522913236-15776-1-git-send-email-iamjoonsoo.kim@lge.com> <20180405075753.GZ6312@dhcp22.suse.cz> <20180405080539.GA631@js1304-desktop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180405080539.GA631@js1304-desktop> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 05, 2018 at 05:05:39PM +0900, Joonsoo Kim wrote: > On Thu, Apr 05, 2018 at 09:57:53AM +0200, Michal Hocko wrote: > > On Thu 05-04-18 16:27:16, Joonsoo Kim wrote: > > > From: Joonsoo Kim > > > > > > ZONE_MOVABLE only has movable pages so we don't need to keep enough > > > freepages to avoid or deal with fragmentation. So, don't count it. > > > > > > This changes min_free_kbytes and thus min_watermark greatly > > > if ZONE_MOVABLE is used. It will make the user uses more memory. Oops.. s/more/less > > > > OK, but why does it matter. Has anybody seen this as an issue? > > There was a regression report for CMA patchset and I think that it is > related to this problem. CMA patchset makes the system uses one more > zone (ZONE_MOVABLE) and then increase min_free_kbytes. It reduces > usable memory and it could cause regression. > > http://lkml.kernel.org/r/20180102063528.GG30397@yexl-desktop Thanks.