Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3896702ybb; Mon, 6 Apr 2020 18:40:49 -0700 (PDT) X-Google-Smtp-Source: APiQypICTJs019sFpqkbFZEs1LYZoRB/WGMeGLjSagvk/70X6mazVNMh6XN64rSRuyNinFo1+P59 X-Received: by 2002:a9d:ef8:: with SMTP id 111mr1699217otj.94.1586223649641; Mon, 06 Apr 2020 18:40:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586223649; cv=none; d=google.com; s=arc-20160816; b=VW6lnM6RufpW/aUWcyf44SjZ6dshq0pcTYFOCqpV5PrhpmVb4srCTbnX0Q4c8lYv0x Qh8c7ZmpJi+AFxAdB5FYK5oHl/ypaRD8GcRXpgl6t0N4s7YHBQnyG2jNtpuYF3VK2Irl bVDAuuNom5uuOi4QF0UiqE1bvuZEiHjoywmnv3rViw4oVyy5Dy2H7FYIiUb8mwo9Vrk8 avfdTTLkmw75DEe4KfB9fUbXVnb1oSUJd5gLpX1eue51oiN7uQ+VbEL0v08Jd6eGhSbN oSVKwfCO3JhtImQI+DXKmWrr7T7RPwcIsKNflcZkPgMzdy899+Z+BfOI8O/KcY3lI0kf 9RTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=F0V84GznQIsN+4SGDl5mAomkomdqcxNUXjTt40LJoI8=; b=TF5JjX7aefj5I6sVmZJu54fIp8/gzxKpL1HvdazTvSEK40bzzTLAdAyQeO+w9Wefrm RdHN9an9ieCjoXLgdezsZOinwdIbJPIhtCaRC96zbsSvhb0z/SCIKU9HxMMVTlNzvy7T ut8jOZzA/ecR9NHo1rsyM07QvA1kOwBM6kqU6ns/JW//R8rucdxbad6cejM8iPX+KXtS 5bcRzlv7vsE+rr07U0OODOPQmt/ZoYQjk9oSMKpTgi7WWHsLonzcnXcT9tpmehQJARJE 2dD9uzvEsynYjKFcl36vlUSkoqTRQc6dCnPvjDxBM8QxYRudHoSNIo15mwyg3NL+MjGt LO8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b="O1iO/1cI"; 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 p21si606241ota.291.2020.04.06.18.40.38; Mon, 06 Apr 2020 18:40:49 -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=@joelfernandes.org header.s=google header.b="O1iO/1cI"; 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 S1726421AbgDGBi7 (ORCPT + 99 others); Mon, 6 Apr 2020 21:38:59 -0400 Received: from mail-qt1-f194.google.com ([209.85.160.194]:40513 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726230AbgDGBi7 (ORCPT ); Mon, 6 Apr 2020 21:38:59 -0400 Received: by mail-qt1-f194.google.com with SMTP id y25so1538479qtv.7 for ; Mon, 06 Apr 2020 18:38:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=F0V84GznQIsN+4SGDl5mAomkomdqcxNUXjTt40LJoI8=; b=O1iO/1cIlXZzCWiXB9+N8Z/s/ZDrrhWL5RZHWQNV6RPvFIgdTwhusypEd24N3EvS+u CEtSn9Vu6T6XXI7RFnCoJAJgioCjZCIw9yc5hfy0VkDjmt7fnqeDu29cIJJEx104AlNE DsMfHbHlgUg2CJcBkCG6W2+eH1mxmqyNfhGIc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=F0V84GznQIsN+4SGDl5mAomkomdqcxNUXjTt40LJoI8=; b=WVMjTq6bfiopgr4l3eVLrk3LD1es58xMsrTM0e0Gv448c1KR0Fv1HKPVphwvqyQTEf qZsXyDwTv5a35x3epTWzlfqQnPiiuNSAa7XCXKyE/btxnpEjdFvU7G0pAJnUPYwvqVnJ 8TOWOikXmvwhILogpAqqRtrI1l0i5a8hLB3a+yxfBMEXyX37PnkrIrvJEUPpK5naAvTm 2EY2umiQiGH3YPotuF8MP6kOmRU4aVfnI5AkocjMFX3A63NqPmYHRibOOKmzpTal6WWe Xmu0ONh7lHzZ0NpACtQV6uXhIhlWEejZcQWPlHpxZpqzl6Cr4y1uPsN0uudBF5i+vjY5 13rA== X-Gm-Message-State: AGi0PuaB6mprnHpwSDnWeod+GOh8othgAnRyd9Q/0DRqGO3fHTWJagm6 0qJcW2kaOXhbVTJ0gjF8AnOQdg== X-Received: by 2002:ac8:2dae:: with SMTP id p43mr113698qta.341.1586223536644; Mon, 06 Apr 2020 18:38:56 -0700 (PDT) Received: from localhost ([2620:15c:6:12:9c46:e0da:efbf:69cc]) by smtp.gmail.com with ESMTPSA id h63sm10806252qkd.49.2020.04.06.18.38.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Apr 2020 18:38:55 -0700 (PDT) Date: Mon, 6 Apr 2020 21:38:55 -0400 From: Joel Fernandes To: David Rientjes Cc: Michal Hocko , Andrew Morton , "Paul E. McKenney" , Neil Brown , linux-mm@kvack.org, LKML , Michal Hocko , "Paul E . McKenney" Subject: Re: [PATCH 2/2] mm: make it clear that gfp reclaim modifiers are valid only for sleepable allocations Message-ID: <20200407013855.GA11326@google.com> References: <20200403083543.11552-1-mhocko@kernel.org> <20200403083543.11552-3-mhocko@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 03, 2020 at 12:41:51PM -0700, David Rientjes wrote: > On Fri, 3 Apr 2020, Michal Hocko wrote: > > > From: Michal Hocko > > > > While it might be really clear to MM developers that gfp reclaim > > modifiers are applicable only to sleepable allocations (those with > > __GFP_DIRECT_RECLAIM) it seems that actual users of the API are not > > always sure. Make it explicit that they are not applicable for > > GFP_NOWAIT or GFP_ATOMIC allocations which are the most commonly used > > non-sleepable allocation masks. > > > > Acked-by: Paul E. McKenney > > Signed-off-by: Michal Hocko > > Acked-by: David Rientjes Reviewed-by: Joel Fernandes (Google) thanks, - Joel