Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1519615yba; Thu, 25 Apr 2019 00:51:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqyqNhdhFg1uUcRb/t9ySaFGd9j6qTk2uHpHK+PDnuPBswBD8MNkPC+WKNm6n8w7wFGMGjR4 X-Received: by 2002:aa7:8096:: with SMTP id v22mr38518300pff.94.1556178711894; Thu, 25 Apr 2019 00:51:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556178711; cv=none; d=google.com; s=arc-20160816; b=QJI44Kv2n0mTVrNSH85DXQzGc9v7nay9U1jsH5GZSL3NIUo2zDNljpv6n+AeFlwoW9 nIysRlFPdRy9trCkqo4IAtJMk1LnwmZqVCIs5pStQEyn55QEfHVuO18ofeL4zGYz5/X/ DW5QsYjRswoMsD3dZ4HkgHWhYb/YjXPfVKzIH4QL4SJi5OuQe0BIVHBPLhrUnBtyTTij cGbxCL302saBNTByFt4XAeSKFxqrg3bEcVL3MG/IJRJ1W+ctmx0tRG6nVXTCgicIwuhE NdCHw1htChTxS78Rvn05kZiCvgh9AJ7D49Pd6mM/BXRK/42ejfBBY72iOF5JxYOJHGgV XLTw== 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; bh=BlBTLW3u4QV0kYFDgPdZbW95f8FWGq2QONe4yySt1dM=; b=O3W8tTBzv+kiFUjJhaFpN0NwTYD8ynmuvNEy6mvbCS+Sbh/KjjFDQf0ozV63Ck1xta hSgnTye6mFc1Cy1dXpgwGTLh3+n7IjQCg7cSM3QtIofcqNNfRPF/5rXVrkElkhcXokLH vB2Dsywg2yCWzelv+OWpj2BLWz5qibGpiRvq6A7VqXk0WnWQmBqj1plfo4yP9TuA8J5w 8HV4/rfD52craKZW+BIG1KN+raaMxJget+NNGbVaKRe81QLtzgUZj26za6lMSlebaylB Xy2K8z4RZTCooPn7vBABlaZYjQVWRT23JYVkynmV0lK6ikzSxzJ9L07/Q7Ic2MsnPts2 nF8Q== 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 a22si21876957pfc.217.2019.04.25.00.51.37; Thu, 25 Apr 2019 00:51:51 -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 S1728579AbfDXXk4 (ORCPT + 99 others); Wed, 24 Apr 2019 19:40:56 -0400 Received: from outbound-smtp09.blacknight.com ([46.22.139.14]:47450 "EHLO outbound-smtp09.blacknight.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728535AbfDXXk4 (ORCPT ); Wed, 24 Apr 2019 19:40:56 -0400 Received: from mail.blacknight.com (pemlinmail05.blacknight.ie [81.17.254.26]) by outbound-smtp09.blacknight.com (Postfix) with ESMTPS id 751841C1DBF for ; Thu, 25 Apr 2019 00:40:54 +0100 (IST) Received: (qmail 21671 invoked from network); 24 Apr 2019 23:40:54 -0000 Received: from unknown (HELO techsingularity.net) (mgorman@techsingularity.net@[37.228.225.79]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 24 Apr 2019 23:40:54 -0000 Date: Thu, 25 Apr 2019 00:40:53 +0100 From: Mel Gorman To: Andrew Morton Cc: Andrey Ryabinin , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] mm/page_alloc: fix never set ALLOC_NOFRAGMENT flag Message-ID: <20190424234052.GW18914@techsingularity.net> References: <20190423120806.3503-1-aryabinin@virtuozzo.com> <20190423120806.3503-2-aryabinin@virtuozzo.com> <20190423120143.f555f77df02a266ba2a7f1fc@linux-foundation.org> <20190424090403.GS18914@techsingularity.net> <20190424154624.f1084195c36684453a557718@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20190424154624.f1084195c36684453a557718@linux-foundation.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 24, 2019 at 03:46:24PM -0700, Andrew Morton wrote: > On Wed, 24 Apr 2019 10:04:03 +0100 Mel Gorman wrote: > > > On Tue, Apr 23, 2019 at 12:01:43PM -0700, Andrew Morton wrote: > > > On Tue, 23 Apr 2019 15:08:06 +0300 Andrey Ryabinin wrote: > > > > > > > Commit 0a79cdad5eb2 ("mm: use alloc_flags to record if kswapd can wake") > > > > removed setting of the ALLOC_NOFRAGMENT flag. Bring it back. > > > > > > What are the runtime effects of this fix? > > > > The runtime effect is that ALLOC_NOFRAGMENT behaviour is restored so > > that allocations are spread across local zones to avoid fragmentation > > due to mixing pageblocks as long as possible. > > OK, thanks. Is this worth a -stable backport? Yes, but only for 5.0 obviously and both should be included if that is the case. I did not push for it initially as problems in this area are hard for a general user to detect and people have not complained about 5.0's fragmentation handling. -- Mel Gorman SUSE Labs