Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp1064624rwp; Thu, 13 Jul 2023 05:46:02 -0700 (PDT) X-Google-Smtp-Source: APBJJlG4JlZ/l19tWVL69h8QF4CIlhvfsFerpoHW0Q0wnWNJQxxTb9o9TQdDgpTD+38Mqsk0eHfL X-Received: by 2002:a05:6a00:3a04:b0:677:c9da:14b0 with SMTP id fj4-20020a056a003a0400b00677c9da14b0mr985322pfb.32.1689252362358; Thu, 13 Jul 2023 05:46:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689252362; cv=none; d=google.com; s=arc-20160816; b=drKlGtombgEmoV1Yz3rd/Ef8Wy3J0DoagIcxiITOQ3P0/HwkbEcuqNltYtDMYWnPPv 1eF7j7fuuyERq9MwSFLwjf44sZatzAmS93xpaWdLr4khjSUOTkVvTfadfKhOxcxuuUBI ZS1s/V5B8VYy1ZpJ91YbV/4X74kmmoIs0flHpaOMTY7wYMJ2IWYw3yKXtUB9QwlaN5hg WzGC3nWM7ccjBAQN2GN0hEZK+OSdXMxKCacl9aN6QI5zxkeSGovAlwzgtiwdnSghcxFE yBt+MMaqQRkFHTpz6YE/mSDTA8sCNNqmYfLYEV9d5MraSj4JMjLScYI0dvkaQkJqOfwT xuEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=rI0ROKoRaDCr2PMeq7/zhrDW372lSE1+sY8VEo3ciSc=; fh=+7gDMRZGxUC0AG/f6rMHNPkKWPZsLOQReztUZQrbCmM=; b=XjMeSde1Q1jUm2JW/SIrJtTy5rsjms2Jwb/0Sj89WIKHu02r/CJ3PXfSlFX0jwbcu5 u7CLTMQgLcOl+Iav2DhrIJkp/+379AYzgJjmcKAHV9OAlmSB+KaLPsx0N4zzXmK+DmLa 5eq1ao25kpSIGdVSUiCxdesAd03v5TjqBlE1W5OXg8R8o9WwsdYzvSn0VrgOYoEIwvGp 7/zf5qimOP4L5LTgUgHaIIKMUxLdseJN7pmlyL6IghtoghdiotLxygfBGMg4r5jM5LrI FZoKgCsUXVNXumerbyQXeQKIMgQcpDX/0YFRmPStlBKzQp1C1ulDJiE1+b2rr9pSo6VK dz3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=KQxyOus0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z15-20020aa7888f000000b006791029dbedsi5114062pfe.157.2023.07.13.05.45.49; Thu, 13 Jul 2023 05:46:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=KQxyOus0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230061AbjGMMK0 (ORCPT + 99 others); Thu, 13 Jul 2023 08:10:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230027AbjGMMK0 (ORCPT ); Thu, 13 Jul 2023 08:10:26 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E79D2699 for ; Thu, 13 Jul 2023 05:10:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=rI0ROKoRaDCr2PMeq7/zhrDW372lSE1+sY8VEo3ciSc=; b=KQxyOus0p2bqIL7F+tkZO74MoC ZdAg3Lyg0SHetpOyolSQHARHBd4iWZ01Xn5TH3Gcb6UFd+N9nxp36RYw2jMQ9lIztj2EO/wBuxGZT uzendNKIPkuLwdDxvDWVvYMXn99yskr7if6dACXoSk7DFVvelzpi71cE8afL7gM9PUjpLS3F/a/XX z2h7/MMtqGUH1luw2iIiBOSmY89fDdEh1bOSTy81fQvOtuucewNfiRn8dKH8vAFQ+XeyEEiQdKzF9 XjgoXUtejQR80U4cf1W+dpmb0Lh13F6NamcJ1O6014KNIwrijTZQjeWKUF1MWIg7l6HInGHFwtim9 w4Aa0rbA==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1qJv9C-0007Xt-AG; Thu, 13 Jul 2023 12:10:14 +0000 Date: Thu, 13 Jul 2023 13:10:14 +0100 From: Matthew Wilcox To: Miaohe Lin Cc: akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm: remove some useless comments of node_stat_item Message-ID: References: <20230713114915.74671-1-linmiaohe@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230713114915.74671-1-linmiaohe@huawei.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 13, 2023 at 07:49:15PM +0800, Miaohe Lin wrote: > Some comments of node_stat_item are not that helpful and even confusing, > so remove them. No functional change intended. No, that's very useful and important. Why does it confuse you? > 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 */ > -- > 2.33.0 > >