Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1819318ybh; Thu, 23 Jul 2020 19:37:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyL3ajkLkhzEtKa7Sw0ITy9XgTscE00iNJKxdoMYt6oI54w8EPpnGdCQTCJ/UUFMmESS1ip X-Received: by 2002:aa7:c1d8:: with SMTP id d24mr7176279edp.178.1595558228175; Thu, 23 Jul 2020 19:37:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595558228; cv=none; d=google.com; s=arc-20160816; b=lzca7C+24sbD3WICRA00x5+1lgDQV448iEqWR69uuw+b9mkFQ/91yjbIohFSxnaHd8 IWnrJBGl2k0hMgXAB1X79JxOV/iqu6ZQ8wFS2kudEeCiCjjv/SvyMrhQ09jESWHoNCJ+ bl6gt0ciAk9/9o3BNArZ4H1L04xz9Po741pJawSdFdDP/O+C8HJ54+2UfgMV9jK0b49s 3q5Xr+cu1rSTclVy+bLx4PzijvZVeL8QzanDsUwasrIPq62cHXFK5hDkTnPZsPaDi+Zl EcwnnJTuBRwGz/xOSQqMcGbnk70ossAClK0iyoTePPoI97OgbJxGVKK9g72bJPMsVJXu NE+w== 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=xcqo77aGmvS1JjwgSmJ7KYkJT2WE2NdlnCst8ZdgmI8=; b=ujKqlfqhY7R8yMnpPeQqiRbW61Gan9ZmPtiGHZBxEdeIaJOlqwPfmQvlvWeseADzJH oXZxaII7rAgMVw30Yk5tOLbEL+ITqJ181neXLlZzOzpko/iMKL56YhKZMTtiQlrJF9cY 27jDfFIF/ALJ5xjZRRTasfL9UOTaz/zWqYxvWRMlTH5iT6w8/GHCpq65M/PmV5FRMUnM ENKAvjVuFGDzlKhhsxsSrbwypBQMyjSDdciihdtyAwngyznKRvBqw8eRvaWwSNKX50St LmKdl2QZJIe1bJwUXvoZSd4jAWkQ8XgpU98NZlp0Zi9BQAEv4kzS5Q9wYJVlewDLiYX7 FTBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="PRGZ/sQa"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e5si3221874ejb.453.2020.07.23.19.36.44; Thu, 23 Jul 2020 19:37:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="PRGZ/sQa"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726680AbgGXCgC (ORCPT + 99 others); Thu, 23 Jul 2020 22:36:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:35310 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726437AbgGXCgB (ORCPT ); Thu, 23 Jul 2020 22:36:01 -0400 Received: from localhost.localdomain (c-73-231-172-41.hsd1.ca.comcast.net [73.231.172.41]) (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 92AD62065E; Fri, 24 Jul 2020 02:36:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595558161; bh=223v+GvHabeD9/eJz4SlfQmngb87VspYTvdYp60L5p0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=PRGZ/sQaneFPcE/dr8WewYV92zNf0JrkuKmUby4KKmxYk5Wk3t9fyobEZhizw2ZGE nUNrYrJ7SEy0F0/pBhR6kbH1cstLZq2zsDNLMSP34YP/le01QpVCwXnH8pPM5Xw0Cx ThElvUD47Ez0n09WQ9SFdlnXfRGIcsFlsJEaiDN0= Date: Thu, 23 Jul 2020 19:36:00 -0700 From: Andrew Morton To: Joonsoo Kim Cc: Linux Memory Management List , LKML , kernel-team@lge.com, Vlastimil Babka , Christoph Hellwig , Roman Gushchin , Mike Kravetz , Naoya Horiguchi , Michal Hocko , "Aneesh Kumar K . V" , Joonsoo Kim , stable@vger.kernel.org Subject: Re: [PATCH v2] mm/page_alloc: fix memalloc_nocma_{save/restore} APIs Message-Id: <20200723193600.28e3eedd00925b22f7ca9780@linux-foundation.org> In-Reply-To: References: <1595468942-29687-1-git-send-email-iamjoonsoo.kim@lge.com> <20200723180814.acde28b92ce6adc785a79120@linux-foundation.org> X-Mailer: Sylpheed 3.5.1 (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 Fri, 24 Jul 2020 11:23:52 +0900 Joonsoo Kim wrote: > > > Second, clearing __GFP_MOVABLE in current_gfp_context() has a side effect > > > to exclude the memory on the ZONE_MOVABLE for allocation target. > > > > More whoops. > > > > Could we please have a description of the end-user-visible effects of > > this change? Very much needed when proposing a -stable backport, I think. > > In fact, there is no noticeable end-user-visible effect since the fallback would > cover the problematic case. It's mentioned in the commit description. Perhap, > performance would be improved due to reduced retry and more available memory > (we can use ZONE_MOVABLE with this patch) but it would be neglectable. > > > d7fefcc8de9147c is over a year old. Why did we only just discover > > this? This makes one wonder how serious those end-user-visible effects > > are? > > As mentioned above, there is no visible problem to the end-user. OK, thanks. In that case, I don't believe that a stable backport is appropriate? (Documentation/process/stable-kernel-rules.rst)