Received: by 10.213.65.68 with SMTP id h4csp1667070imn; Thu, 5 Apr 2018 01:28:44 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/7nhsFKmBqJFIEEp1147QDRvkbr6Ug13nz1/w0kyS2R7N2L26Ly2PeYijzQoPeKkvwgQXu X-Received: by 10.99.96.130 with SMTP id u124mr14395896pgb.252.1522916924099; Thu, 05 Apr 2018 01:28:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522916924; cv=none; d=google.com; s=arc-20160816; b=LcC3mR6bEQlTpGGCeDgVq+kqY7R7gzA/9yYefPHlalLVZsDTnON/UbDWHjc+sdlnSP sbbfyISwdN7me68ZIdgOuxT9j6E9mXEFX+0Bar6GarHuUbIa0wNCRu59PqRXpABlnT3x j5g+3LEu4TmMFj/B0CaCwQtcRQSaZ8+3vTferKv4sC9di3sg3VjggP82eX4oWjgq5KJa R+pFcfIwIjElUZs8yFV3JZeNRxrjMDOXYfHv4pY3rBdIOcaFH3rNvadE1u5fdq9SVFJT To+rECK9y5/w8zFEZO++xtPYIG1MckPOWWZa51guEEUTzMB/h4HBv+gzUrUdgR6W2UP4 WbfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=68S/YDNs0FLkN7Fbbaj/11tRozEt6eU/b/cU5xQYMnE=; b=bDZOGQsoromBP2kF1aWnv2tgusDUhEJKvzYNuRLvBZd6rdUMrd/GeBu4ndr96hBpeC IUl5HuIZWL5gttq+KxNoc63+h5HlXqF5Jys5doHJgfPMPs1Zt1KdvIGyXjRSlFw75NZ9 zCaZ4vFJ6NrVAahhrH4QCBgvlVUhGXd2bECRw5UAcyA7bphWA6eEu6oErFblSbDkpkNj l/UbV1x2lXpjuY4LB2mURgNiRO6akIuydqqDjOoI2lQQ/TWkFVDJSHUVxlQ7d9ZhwxTN x/v0tnlD/bQeKWjRtcfBdKjzLhJ9s2esGPCrPf3ncn0AHJEcqOwndc2J49M26iuhI6y0 K84Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 65si5062470pgj.458.2018.04.05.01.28.29; Thu, 05 Apr 2018 01:28:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751447AbeDEI1O (ORCPT + 99 others); Thu, 5 Apr 2018 04:27:14 -0400 Received: from mx2.suse.de ([195.135.220.15]:48984 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751544AbeDEI1L (ORCPT ); Thu, 5 Apr 2018 04:27:11 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 0258DAEC2; Thu, 5 Apr 2018 08:27:10 +0000 (UTC) Date: Thu, 5 Apr 2018 10:27:08 +0200 From: Michal Hocko To: Joonsoo Kim 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: <20180405082708.GA6312@dhcp22.suse.cz> 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.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 05-04-18 17:05:39, 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. > > > > 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 Then this should be a part of the changelog along with some reproducible results, please. -- Michal Hocko SUSE Labs