Message ID | 20180524152053.1248-1-yehs2007@zoho.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 16C8B6019D for <patchwork-linux-mm@patchwork.kernel.org>; Thu, 24 May 2018 15:22:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E612C296C8 for <patchwork-linux-mm@patchwork.kernel.org>; Thu, 24 May 2018 15:22:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DA37A296D2; Thu, 24 May 2018 15:22:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 96F64296C8 for <patchwork-linux-mm@patchwork.kernel.org>; Thu, 24 May 2018 15:22:36 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A35E16B0008; Thu, 24 May 2018 11:22:35 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 9E6256B000A; Thu, 24 May 2018 11:22:35 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8D5EA6B000C; Thu, 24 May 2018 11:22:35 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-ot0-f199.google.com (mail-ot0-f199.google.com [74.125.82.199]) by kanga.kvack.org (Postfix) with ESMTP id 5F1076B0008 for <linux-mm@kvack.org>; Thu, 24 May 2018 11:22:35 -0400 (EDT) Received: by mail-ot0-f199.google.com with SMTP id t1-v6so1133163oth.3 for <linux-mm@kvack.org>; Thu, 24 May 2018 08:22:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-original-authentication-results:x-gm-message-state :domainkey-signature:from:to:cc:subject:date:message-id; bh=m4qJB6bnDNspmM9iAB/C4ilizf1zye6+llwpzbjgjaE=; b=LOskdd5/APIqEYv157JJ0wcN1EU3GstVw13XtYnARISk3P/eMy6pCveMNm33w6vZ99 B/QddmTsvzUSLFJVArMKyDYUrRzOxFZrG8llTeDSCoq/CFt/eTcK6wqH/BokehDnfmjF pm3bbwyYp+bgxqDET6mRDeLLSsgDrwspu2VpSwavjmGlS8az/XxYT5+1NGK9WRAujs2r lAj2NkPJMavcgFzNGieWVLIa2EeIUTZSD7eaJ8HUSDwLerVmmIxtmpDC+vXSe2k6Hnqk 9wHOyyHsqtufKazVc80MeFzQRgp9a4QWt2EoZFJlFSgg3xWINKodKdTn04qy5H5I543/ 2qVw== X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of yehs2007@zoho.com designates 135.84.80.237 as permitted sender) smtp.mailfrom=yehs2007@zoho.com X-Gm-Message-State: ALKqPwci1TtPTTFppy57HrVholaeb/f6wXvKTd5wdTzR19vnHazXWciq f0mz8CUU+UNQomDI5g6IJDMOsffTsctrnf/B4/K+QFOD4PP5ZAf40lI3yk/89FmjoDdAmwew9KA dC2diE/ksJIH9+kQogt4Cj5w/j5mMthTCI/y2r7ruovVpvyGjUJTAztsyXpisAhBs/w== X-Received: by 2002:a9d:2e82:: with SMTP id w2-v6mr5168464ota.307.1527175355128; Thu, 24 May 2018 08:22:35 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrVEEudezBwsc7Lv1w22LesdWj/CRvFtMejTkobTJcWIGXxuOp03a5CkGLVnZitD2kFAiPq X-Received: by 2002:a9d:2e82:: with SMTP id w2-v6mr5168315ota.307.1527175351490; Thu, 24 May 2018 08:22:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527175351; cv=none; d=google.com; s=arc-20160816; b=wivLFmPy+eWgBrzgzh7xxlV9u7LJZM4RembM5pB6Q98uOL1vdcNSoMMDVcJ4VKEewo uRog9MEMTogbvru0dLR6Qi5DzG3a8z6XxLxqcicmEUzBvaOx3tsV2VrA75zfxgXEDq1B wESVsLNf7VE12MV6RYWkP75FNSGQqMUUl+tHzA2COpivD1Lxu18JpNDsYDhelXdQ/kWr ktHNW2rygAB9YQJ++9liq9C3pKWZU5aVegkr6mu4zxt7REOlaEAwjZyjm3hsTp7O1C9o WGU9/Qr9ScV4BmYJu0oChpUvNISdax7xzQ5Tt8uYc9n0vy+yxwJ6IYobFM8acwRBTKuD U/gQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:domainkey-signature :arc-authentication-results; bh=m4qJB6bnDNspmM9iAB/C4ilizf1zye6+llwpzbjgjaE=; b=shaMgGOm5Y4Bla3FPfolXLJMAf44Z8w0XnrIwccZyCJBYi5bd+p6O30MaTB1kVAYYF ONnMduK0jJdf3vYt7zrx7kwUnFUFS7sf7L1zn11YDAkbamqnAhYtBXNTd8rVx1oJrLdP 5pkwgl8Z3J3AWThYxnHTQev71CoC09h2wgU9W/7XusBjJwC3tPCBG1wLCoI/BpRvdALx insoqdSOdPqOrPaw36nyE9YtHN+lRLk891FqGeQDHeNtwA5xh9dUGq52wxqAByCXsmcV Q8nIwWpcCWIsh66VFH8NBOHYqrWNvjqk6p+cbuwuXXjCEVn0p2RPTDAdz9QjihwrD/br ZRSw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of yehs2007@zoho.com designates 135.84.80.237 as permitted sender) smtp.mailfrom=yehs2007@zoho.com Received: from sender-pp-092.zoho.com (sender-pp-092.zoho.com. [135.84.80.237]) by mx.google.com with ESMTPS id c186-v6si7136297oia.171.2018.05.24.08.22.30 for <linux-mm@kvack.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 May 2018 08:22:31 -0700 (PDT) Received-SPF: pass (google.com: domain of yehs2007@zoho.com designates 135.84.80.237 as permitted sender) client-ip=135.84.80.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of yehs2007@zoho.com designates 135.84.80.237 as permitted sender) smtp.mailfrom=yehs2007@zoho.com DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=from:to:cc:subject:date:message-id; b=o4YBIQstkcltfz3ORhs9f9RhNGo028es6Ydzm58uCvbKUnEf8FcKw0D38rFdg5j6wn2QNIarZ2vV mxWAWE9axwOVzMjLCmoA/yRT3nllZgNV3XD00KnvryEQysZNvRRL Received: from YEHS1XR956R00D1.lenovo.com (125.33.107.223 [125.33.107.223]) by mx.zohomail.com with SMTPS id 1527175289588254.78304758381694; Thu, 24 May 2018 08:21:29 -0700 (PDT) From: Huaisheng Ye <yehs2007@zoho.com> To: akpm@linux-foundation.org, linux-mm@kvack.org Cc: mhocko@suse.com, willy@infradead.org, hch@lst.de, vbabka@suse.cz, mgorman@techsingularity.net, kstewart@linuxfoundation.org, gregkh@linuxfoundation.org, colyli@suse.de, chengnt@lenovo.com, hehy1@lenovo.com, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, xen-devel@lists.xenproject.org, linux-btrfs@vger.kernel.org, Huaisheng Ye <yehs1@lenovo.com>, zhongjiang <zhongjiang@huawei.com>, Minchan Kim <minchan@kernel.org>, Dan Carpenter <dan.carpenter@oracle.com>, David Rientjes <rientjes@google.com>, Christoph Hellwig <hch@infradead.org> Subject: [RFC PATCH v3 6/9] mm/vmpressure: update usage of zone modifiers Date: Thu, 24 May 2018 23:20:53 +0800 Message-Id: <20180524152053.1248-1-yehs2007@zoho.com> X-Mailer: git-send-email 2.17.0.windows.1 X-ZohoMailClient: External X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/mm/vmpressure.c b/mm/vmpressure.c index 85350ce..30a40e2 100644 --- a/mm/vmpressure.c +++ b/mm/vmpressure.c @@ -256,7 +256,7 @@ void vmpressure(gfp_t gfp, struct mem_cgroup *memcg, bool tree, * Indirect reclaim (kswapd) sets sc->gfp_mask to GFP_KERNEL, so * we account it too. */ - if (!(gfp & (__GFP_HIGHMEM | __GFP_MOVABLE | __GFP_IO | __GFP_FS))) + if (!(gfp & (__GFP_ZONE_MOVABLE | __GFP_IO | __GFP_FS))) return; /*