Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1365607pxb; Thu, 28 Jan 2021 14:48:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJyF9DmsBT70kYADkW6DyrTRliV8CvImRrNFk1rvavowgYVb89f8+jDnnH17T/ZNvsSa3FpF X-Received: by 2002:a17:906:b756:: with SMTP id fx22mr1664803ejb.406.1611874094279; Thu, 28 Jan 2021 14:48:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611874094; cv=none; d=google.com; s=arc-20160816; b=hROSMlYrOKmCvI2wMW2xcfdDuLqArPwxsTQIHLMfIdFxTZ7FP6zANF7xsKAOTG8hlT xEEAVJniEDu0O60uEtX4fEh00y/2GCn0VDQhS45qeRDYHS3M35AVRc8nVIaI/j6nm0lh /gRWBgoa6kkAFZqapkoAnNHFpsGy4KAJ7NkkU1SLsI86uP0VKVBPHb/CjSdbhk9g7371 NkQVD56aspXVhCAsgyoqXedGu7/wNnwbJrOXlW4wF1iM+W96bEyMxMShOrSCiBv40/iH zH/T/zhNsqJgYqB2RzgJCCAoj4wwPwZ5NSblndcSbdgIZ2d1XR7fjNQlTWjAQTFkI8NN rxbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date:dkim-signature; bh=QyEif4VyZcju9R1mKoD/tD54DKRTJWeE0Dgl2QjUm3c=; b=Kh3aOFV2maMQgV9UKDy2tO/0QgRk1HOkD6hGfu9khtCdon9yGT6SeK0lJHynO3YyEm XlcuyhAJnD2Thcx4E6iq9AdJRNiunbHOXqOrk4NU6sRYretqC3qGov+Ad33fjvs92kOJ 1aeYCvgoYlr9JIhfbmENYkDEfWmof7TppA67HdO4odtL+pRR9y2ywaTc2P8Aet+taLdt 1eVlH0rHigayrxVdKrTvBqthS2JfyAI0OfvMSF8IRemh0GnYWmaJZ9oqtwTiSb5GFob7 fSgUiNQhYxFoGTjk74J+Jvk8Rz/N+tFKb3yF5FcmT+dnnhubOt34FP/NxmLoC9rDuuYU oQwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="E26b/trY"; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o17si3718533ejh.270.2021.01.28.14.47.49; Thu, 28 Jan 2021 14:48:14 -0800 (PST) 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=@google.com header.s=20161025 header.b="E26b/trY"; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231700AbhA1WqV (ORCPT + 99 others); Thu, 28 Jan 2021 17:46:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231671AbhA1Wpr (ORCPT ); Thu, 28 Jan 2021 17:45:47 -0500 Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3AAD9C06174A for ; Thu, 28 Jan 2021 14:44:59 -0800 (PST) Received: by mail-pf1-x435.google.com with SMTP id u67so4982393pfb.3 for ; Thu, 28 Jan 2021 14:44:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:in-reply-to:message-id:references :mime-version; bh=QyEif4VyZcju9R1mKoD/tD54DKRTJWeE0Dgl2QjUm3c=; b=E26b/trYarb6KK70wmR2E+OJdxnTogS0ETGiS4abIvOyQHhJ8LxMz2KTBkXLCM/Ivv Z38c7DceiM9rPWg4EbbGD6Ndc94tPNlIyO57WDIxZs4kdZgV97NjdGB3o5Yc6EYFHBS+ U3hVoCrWKgtF8D8GyAEm5f79ee+yC8aG/DXgUbcf3HYHiFYYUQ5CGmnWh76CpA+C7kdh 3v+fSEyuTVwNSc1mPIqvneBw0dEwM3GsCF44182C+FnDx+qf6IugERbk0zPFcebbc2bV 8l3NyThctWYb7ePNlX/3tABBo7cx0nuwxSgaikbyDSHp2llydDsZu3tdNCYcUtBzOvvy Y1QA== 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:in-reply-to:message-id :references:mime-version; bh=QyEif4VyZcju9R1mKoD/tD54DKRTJWeE0Dgl2QjUm3c=; b=OqHsiiWUwjT+MxnVaAgZKrQutYMU+fsjS6DbNv8dLZrY6AJW3zSfyQOHz/PjfQr3Ud Jq6yYt1o1AKUPXlsWWf4pdXmwiMow6pNzYDrCe6bg3hn7qYt0MSWhZHrti4RRNgfj9o5 6Y8pIX1lPBH3F2floxlE7YdxdM5o6ZitkoU2fVYV2gYDYSBGzR08liupHgzjqeQ9EjCe yW+ziOmcEFRrEvLHAlMhHKSoeEFzug8oiv16NYpnsWkweyCzfKAvXPVYtsbMGh0MBwc4 UrPGU6bAqDFneLvlb2VuQCUJPqfoZ0SJi+ui5QFEA8UtxhJrRMICk9ZoA3WrPyPyaMeb sTsw== X-Gm-Message-State: AOAM531fPBB0NmoO8VfAdl0Af1cbWkcvRKlLdfDSthsN283ODiyRj4rD BhsFuiQXkiUhFRBnKGMsNOBmWg== X-Received: by 2002:a63:2259:: with SMTP id t25mr1530428pgm.395.1611873898388; Thu, 28 Jan 2021 14:44:58 -0800 (PST) Received: from [2620:15c:17:3:4a0f:cfff:fe51:6667] ([2620:15c:17:3:4a0f:cfff:fe51:6667]) by smtp.gmail.com with ESMTPSA id 6sm6490348pfz.34.2021.01.28.14.44.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Jan 2021 14:44:57 -0800 (PST) Date: Thu, 28 Jan 2021 14:44:56 -0800 (PST) From: David Rientjes To: Alexander Lobakin cc: "David S. Miller" , Jakub Kicinski , Yisen Zhuang , Salil Mehta , Jesse Brandeburg , Tony Nguyen , Saeed Mahameed , Leon Romanovsky , Andrew Morton , Jesper Dangaard Brouer , Ilias Apalodimas , Jonathan Lemon , Willem de Bruijn , Randy Dunlap , Pablo Neira Ayuso , Dexuan Cui , Jakub Sitnicki , Marco Elver , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, intel-wired-lan@lists.osuosl.org, linux-rdma@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH v2 net-next 1/4] mm: constify page_is_pfmemalloc() argument In-Reply-To: <20210127201031.98544-2-alobakin@pm.me> Message-ID: References: <20210127201031.98544-1-alobakin@pm.me> <20210127201031.98544-2-alobakin@pm.me> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 27 Jan 2021, Alexander Lobakin wrote: > The function only tests for page->index, so its argument should be > const. > > Signed-off-by: Alexander Lobakin Acked-by: David Rientjes