Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2369014yba; Thu, 25 Apr 2019 15:26:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqxQCIaeyg2ssmjH7/6APC8ExVSMsEfFRaj3zNvwDYCOJ3/JM0aiomWcWYtLAvQLq8v8C11D X-Received: by 2002:a63:d34b:: with SMTP id u11mr8009368pgi.385.1556231183398; Thu, 25 Apr 2019 15:26:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556231183; cv=none; d=google.com; s=arc-20160816; b=OQ0V8Z/KrPiCWe4rGGPEqRnBt+q/sAlUw2lJ5MrkcKXKao6x/EXTRiakD8f7QcMn6s eAkFA2nqK1udK48nGTtpCA3/34W/0XF0Sh756nyVgkInc9UYUZqP9Q9NrROGOdbozHkJ W5yHlbBcwfMYcZTjr2XR5qRhJ5jRoM/4YR4XZeEHAXA7g612DhOUqqL7wR5z/yJAeUHq 2GuVqH74ZCwsMjALRRr4hUiAK74cL/vWXj9qL33HoJZZVj5fczbAw+CdtkMqKv69/rOb 9rWF0++Dr+qLtDZ/lIq7cULY06qp6z3nzFQSYT+KLsatK905lpEoRqsYKV4+EBjcdosu TyFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=aaJkYEA6VyDdQHuuWqfQer9DDNRHbyTQjCC7r2fnf54=; b=Pki2bhdTwOI3GmaTDSIzqxZWNynXT/Kp3myIZpIh8OPhRkCPCczgtg+LZPbatuL7VP daSxHNAh2DXvpicT0KF7FgdD4i7u6ZME+xtqcJCANGZkpWS8Rew/uqPzBKVAxgXf2pvb WdAXuQ6ngqGH/SfBNwkr5jqnrVUCVOYLsgliVCsxGI0H8SCfcF3KXfWeuuD6ZJX/JsQf xd/F68v6EMl71mkda+Zkb2Zqwyfx8xtWq29Dhxj21T3GYeiZyynz/Z12XMZidQpv5J8p sBBjHNvQEOgBtBnToh5xwWxPWT47Fbj/raT/yv507h+d7jApNZS7uOvtGPWcn0m2nDEd mk8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=hwCGJgJL; 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 l6si17399686pgp.489.2019.04.25.15.26.07; Thu, 25 Apr 2019 15:26:23 -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; dkim=pass header.i=@kernel.org header.s=default header.b=hwCGJgJL; 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 S1730231AbfDYVJJ (ORCPT + 99 others); Thu, 25 Apr 2019 17:09:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:38408 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726429AbfDYVJJ (ORCPT ); Thu, 25 Apr 2019 17:09:09 -0400 Received: from akpm3.svl.corp.google.com (unknown [104.133.8.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B70E0206A3; Thu, 25 Apr 2019 21:09:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556226548; bh=WpmCo0Eolh7ocNua2jKlJaDc65LagGI+szT8NXdlDyI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=hwCGJgJLgap2sUcaotmg2GU3j2hAAro/ij+TdeK6m1lWq8XFJuzwuuIjvpKGfVhbm UD4cSWul8/LRGi3W/6wnjPlPNmsQJjnzUYoBYU+ANMKe24twKNEkaj5q7jzC1wW3Sw 1aTtd63UZ1hCSFe8WEnDMt/XxyrkFTGKvz3wEooc= Date: Thu, 25 Apr 2019 14:09:08 -0700 From: Andrew Morton To: Mel Gorman 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: <20190425140908.7da3c4e52663196c7b914b00@linux-foundation.org> In-Reply-To: <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> <20190424234052.GW18914@techsingularity.net> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 25 Apr 2019 00:40:53 +0100 Mel Gorman wrote: > 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. Ah, OK. 0a79cdad5eb2 didn't have a -stable tag so I suppose we can leave this patch un-stabled. If they went and backported 0a79cdad5eb2 anyway, let's hope the scripts are smart enough to catch this patch's Fixes: link.