From patchwork Fri Sep 9 09:24:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miaohe Lin X-Patchwork-Id: 12971370 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0DBC0C6FA86 for ; Fri, 9 Sep 2022 09:25:33 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 17421940008; Fri, 9 Sep 2022 05:25:31 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 077F28D0008; Fri, 9 Sep 2022 05:25:30 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E0B048D0002; Fri, 9 Sep 2022 05:25:30 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id BAC238D0008 for ; Fri, 9 Sep 2022 05:25:30 -0400 (EDT) Received: from smtpin17.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 8CE371209C8 for ; Fri, 9 Sep 2022 09:25:30 +0000 (UTC) X-FDA: 79892014020.17.C40A70A Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by imf15.hostedemail.com (Postfix) with ESMTP id E9DA0A007C for ; Fri, 9 Sep 2022 09:25:29 +0000 (UTC) Received: from canpemm500002.china.huawei.com (unknown [172.30.72.54]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4MP9V80WYMz14QPh; Fri, 9 Sep 2022 17:21:36 +0800 (CST) Received: from huawei.com (10.175.124.27) by canpemm500002.china.huawei.com (7.192.104.244) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Fri, 9 Sep 2022 17:25:26 +0800 From: Miaohe Lin To: CC: , , , , Subject: [PATCH 03/16] mm: remove obsolete macro NR_PCP_ORDER_MASK Date: Fri, 9 Sep 2022 17:24:38 +0800 Message-ID: <20220909092451.24883-4-linmiaohe@huawei.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20220909092451.24883-1-linmiaohe@huawei.com> References: <20220909092451.24883-1-linmiaohe@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.175.124.27] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To canpemm500002.china.huawei.com (7.192.104.244) X-CFilter-Loop: Reflected ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1662715530; a=rsa-sha256; cv=none; b=3W/lVBjmPVMoOTlNRKkeu88jPzUz7p4OzwENKCtn6VfELUe+kuOkvfPO9mEkHUbh1CehTN jZ9c/R2Siex79ScXh5tl/7tfN97t5FiN5ocL9K2q5aV81JInYND7GOPacTdLxpIqt3J4HY UaHO5eHI2pEg5J87DrvFo9faqOOBqms= ARC-Authentication-Results: i=1; imf15.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf15.hostedemail.com: domain of linmiaohe@huawei.com designates 45.249.212.255 as permitted sender) smtp.mailfrom=linmiaohe@huawei.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1662715530; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XeGjWFmECwcI8jBbmSzZoSlkMIQ7zxPO0Jzu+aQG+i4=; b=JDP2wava5iMTdcH+Q+VlaJXxOxXPLlGM7LJmMMGnCwgJRLa743BvlPJxSP74r8KArP3kef XrRTvPa4BnQfO4sgGeLD8oIeea16oy/+TaRiyrofU5DGxBLCtRF8EG50NBV9jQ+g1xDtO4 cGlA7Gw7fTNYMEsXEraufMoRUfmfyaU= X-Stat-Signature: u5idre51fuoit9e118tqk489guh7udjq X-Rspamd-Queue-Id: E9DA0A007C X-Rspam-User: Authentication-Results: imf15.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf15.hostedemail.com: domain of linmiaohe@huawei.com designates 45.249.212.255 as permitted sender) smtp.mailfrom=linmiaohe@huawei.com X-Rspamd-Server: rspam02 X-HE-Tag: 1662715529-169657 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: Since commit 8b10b465d0e1 ("mm/page_alloc: free pages in a single pass during bulk free"), it's not used anymore. Remove it. Signed-off-by: Miaohe Lin Reviewed-by: David Hildenbrand Reviewed-by: Anshuman Khandual Reviewed-by: Oscar Salvador --- include/linux/mmzone.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index d907a29cc429..6950179a20a2 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h @@ -569,7 +569,6 @@ enum zone_watermarks { * in the least significant bits. */ #define NR_PCP_ORDER_WIDTH 8 -#define NR_PCP_ORDER_MASK ((1<_watermark[WMARK_MIN] + z->watermark_boost) #define low_wmark_pages(z) (z->_watermark[WMARK_LOW] + z->watermark_boost)