From patchwork Thu Jul 13 11:49:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miaohe Lin X-Patchwork-Id: 13311905 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 4F841C001B0 for ; Thu, 13 Jul 2023 11:49:11 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id C4E138E0007; Thu, 13 Jul 2023 07:49:10 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id BD6BD8E0001; Thu, 13 Jul 2023 07:49:10 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A77458E0007; Thu, 13 Jul 2023 07:49:10 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 938B98E0001 for ; Thu, 13 Jul 2023 07:49:10 -0400 (EDT) Received: from smtpin03.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 5E8ADB0083 for ; Thu, 13 Jul 2023 11:49:10 +0000 (UTC) X-FDA: 81006417660.03.8AF873E Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by imf01.hostedemail.com (Postfix) with ESMTP id 3441340014 for ; Thu, 13 Jul 2023 11:49:07 +0000 (UTC) Authentication-Results: imf01.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf01.hostedemail.com: domain of linmiaohe@huawei.com designates 45.249.212.188 as permitted sender) smtp.mailfrom=linmiaohe@huawei.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1689248948; a=rsa-sha256; cv=none; b=zVHG+szqXPw6EkgPXO7g6Yg85jj2Rou20IvXob+6Ri+2vsA5L/AScljif5GUlpZoa/dEUc NdMrQud39Ub/xRuZmUcm9dwLi92KYT340fGwZH6OtnDOHHrNMjT2cgfS81R45CD1Nsj5FL whR/NcY4353B0WLx8N3ciwoPYyoz3PY= ARC-Authentication-Results: i=1; imf01.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf01.hostedemail.com: domain of linmiaohe@huawei.com designates 45.249.212.188 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=1689248948; 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: references; bh=9Ne52rYN1F61tk2BZ2erfnItaH/LcTgVMimtcBwdB8M=; b=2f2T7g130S3PCdELru7sOciU03/OywYLMIGoBrfQbE6H8T49scvYi+0H+uWMwDV/bUyuiW 2ZPtF549BpZL8WZqp3i1bX0mePplIvGgE73GDrH5V+pihdOnjZpSC/sKWK1n3u6Ybtt0bz xQm0hE8xZcmZDMKvmlVvN58QML8wtik= Received: from canpemm500002.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4R1t8p1rwKzNm7s; Thu, 13 Jul 2023 19:45:46 +0800 (CST) Received: from huawei.com (10.174.151.185) 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.2507.27; Thu, 13 Jul 2023 19:49:03 +0800 From: Miaohe Lin To: CC: , , Subject: [PATCH] mm: remove some useless comments of node_stat_item Date: Thu, 13 Jul 2023 19:49:15 +0800 Message-ID: <20230713114915.74671-1-linmiaohe@huawei.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-Originating-IP: [10.174.151.185] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To canpemm500002.china.huawei.com (7.192.104.244) X-CFilter-Loop: Reflected X-Rspamd-Server: rspam08 X-Rspamd-Queue-Id: 3441340014 X-Stat-Signature: twhuhyc6ac94kkpthsm8bg71qm6pqode X-Rspam-User: X-HE-Tag: 1689248947-207063 X-HE-Meta: U2FsdGVkX195PahcKVrH3f4xd1kIBhBogwrnM3qxCH72lUL2mj+jlRcS+ndWScmgnN9QYKqG45gqihStr8LsdOg+ShbRi0qypDhMoMc2sCbpobjnLVfOhs7grrKXMYHRFKAHTg/8ms/iP1cNIDWdGELXgaOcHPYhzjY5hV6V0/RfQTxt2nELpgccECC4GucXtFZ8FopMthMDFAZ6VHdFm6+DjWDszpBZyaaBZgZ0otMtI3oanavwg1wCdHCp61rNCRDO4uXtDBZrNx1XFNHBPKKtjH2JjuyAtQZhdAjoD82oJqAYeSjvexKdM7Br6kgcQiXesRhaiSut5ZT+74dmUeCcUjYZqLutbKMetztW90uNK8pswJkO+F1MLWFKrL83AVFUTVQM7oLpZVrxgKiubbq0j63u3b1FS0M7ETHGTRRhyDKra7k6oQc5ffIuBU5DViAFCWR3wQUB6jj8AipzsOea/b1BZ3o3GdxZqpBeKrXayzHF2p+zsgIjZ+eALDSDwfNiHtqIxEY37KSHkJ0Sx3pqR8OJlMaWhV49xbrzxHKjwk4/F2gjg5hUG8Fp30ThRKuSNy8hemB42G9V3El4sFoBTcYaEg6SOQNVUYB12x4Z62382ECKJhvtiex1dE+JYdKseWsS+A3XS+LMayOOLu24RBNuPFir/lxP0rCJRXZ3/nG7CK5plT9E4UHv9GpuIo78iv6PaMrGIahC7J4hkqtnwBOl7weOoWGHC1L7YieUFeR4n3QY7N97eF07nlgX1KFPKOp6DPcYPqdr/CyqgmRoF001qjanCh8NCzc39tSmBE2ZLHnd62u2xEzxmOn8iGohE3c3KNzKwVyWmmYZFLhrA4WGCDfPLbb+ODefDFnTPy2/gtKIZXouTOYZH8cbwe7MWOVOqphdLasJvZfksWDNiwYljwM3EdM83kSPVU6yqb4FJr4UtcvqOnJlglON8wkjxHQnfQ36OlUpu6/ PpG48BJ0 lWsJ3l4BPIwMp3EgSF+CaKZmGFedUJI+GGP5mrS3EjL7+8kfcrLPtlN1Z4Rkyb4Ra0CvyXjYDLe1ISXsL5VFx/UrIo1bUDmKMSVrf/PrIsrW3OrBvrQ+KI4XaPIzLQmznXpoGk22YelMa7fQbc90no2RcvEJvaurUPn8JLrsAitF2BW2o/XlnjQsQcdj+5SBlcsPZ 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: Some comments of node_stat_item are not that helpful and even confusing, so remove them. No functional change intended. Signed-off-by: Miaohe Lin --- include/linux/mmzone.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index 4106fbc5b4b3..844ed29cc260 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h @@ -154,10 +154,10 @@ enum zone_stat_item { enum node_stat_item { NR_LRU_BASE, NR_INACTIVE_ANON = NR_LRU_BASE, /* must match order of LRU_[IN]ACTIVE */ - NR_ACTIVE_ANON, /* " " " " " */ - NR_INACTIVE_FILE, /* " " " " " */ - NR_ACTIVE_FILE, /* " " " " " */ - NR_UNEVICTABLE, /* " " " " " */ + NR_ACTIVE_ANON, + NR_INACTIVE_FILE, + NR_ACTIVE_FILE, + NR_UNEVICTABLE, NR_SLAB_RECLAIMABLE_B, NR_SLAB_UNRECLAIMABLE_B, NR_ISOLATED_ANON, /* Temporary isolated pages from anon lru */