Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1888328rwi; Thu, 20 Oct 2022 19:22:08 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4QLg1I137r76jKERhVZsvKTcu6f1YTGIg1jASz8Yq/dRDKCWsXtfpu4tUvYbDW8v9nCcgu X-Received: by 2002:a17:907:802:b0:781:8017:b2df with SMTP id wv2-20020a170907080200b007818017b2dfmr13417749ejb.606.1666318928556; Thu, 20 Oct 2022 19:22:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666318928; cv=none; d=google.com; s=arc-20160816; b=yhkIsx9vMhmEYhb1W839w76DwhD5/ZxH4Sd5Cy9ODYXSiCsnuScLRh5zUw+mWlmS7H CDFmAHPeBStY/6lUlFBbW5PVWECxchtcx3FvPsnnIfHXkViR9FOFHQbihrXKa4hdlxV/ Uh+/U3NyTVz19d1y6xMr3tBPruhFu/GZuIeShCoJ5UeEfFvySI7UIc20ANtiEETIZqbD CZPucVMLZCbHBJL7FrefgZtQvC71cuy4VMfhe6X94fF/yd23vRso+XGOAO3K0ZjokxFy xLeihQDT/ssRl97WNL/KUoQ8fuY6joFcTzNSyAYctqjq2EfUe6Lym94O1v3uFLugbsaY pHmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=QpqUWMvs+2Qm0mhO0PFXaepUkZemNycFsUmHpnfKMbg=; b=cZFfKHpqVTjFYagOBU9/6McLsnD0fNClS4kzGLQH7Ovcs2zVdcupOjB2xqOoBlLuyV +XwRID5fHcr8uFW1pQ3Shl2tNZpeGIsuET5KzTUt+8ajYlmxRGRg7GjUD5pXf94wQW8q mgjqd3ouXb6Q1kig14a5zyUZL+m6fYjr8Y+PwtV78s9ggJNj+my7RMM6u42uLjV3IGeq 2bm+13AVqzuZKKPrrRx4j/oYg81UL9MDiRSFfQylhM5CpnM9OfJXs0aPx3PSGtdDCzxj OrKU8AFzd5CP9n6QxOS3THubhTMRMPayCKCfJwNLob6QIJus882M+U4yLHYTNUxdkyC3 +1Cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=RM+5ExGY; 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 qb26-20020a1709077e9a00b0077f4a46a179si20475898ejc.454.2022.10.20.19.21.43; Thu, 20 Oct 2022 19:22:08 -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=@linux-foundation.org header.s=korg header.b=RM+5ExGY; 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 S229716AbiJUBrn (ORCPT + 99 others); Thu, 20 Oct 2022 21:47:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229867AbiJUBrl (ORCPT ); Thu, 20 Oct 2022 21:47:41 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C2FF22C612 for ; Thu, 20 Oct 2022 18:47:40 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E43A8B82A0F for ; Fri, 21 Oct 2022 01:47:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0F38EC43470; Fri, 21 Oct 2022 01:47:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1666316857; bh=yo1hIJweKZLTj72/NxaxGf4naDTPS65T5o8RZ3WKDto=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=RM+5ExGYW/2f2vhpN6L0I2Nh4MV381nomxc/RpYkXGT034io0Tc5nZdGkpDMD2qS6 Lpgl9fJAdP15zgPWmaBOCC1Vtnq+SKWcoi6CgQW07+mPOlQ+sj1zMgNbFIYW6/d9aI yrYsJ1FZsOum+8x5c7P1CwxiQrfUpgnITOkIhbaw= Date: Thu, 20 Oct 2022 18:47:35 -0700 From: Andrew Morton To: Huang Ying Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, "Aneesh Kumar K . V" , Alistair Popple , Bharata B Rao , Dan Williams , Dave Hansen , Davidlohr Bueso , Hesham Almatary , Jagdish Gediya , Johannes Weiner , Jonathan Cameron , Michal Hocko , Tim Chen , Wei Xu , Yang Shi Subject: Re: [PATCH] memory tier, sysfs: rename attribute "nodes" to "nodelist" Message-Id: <20221020184735.aaddd0899bad4f0bb796ebde@linux-foundation.org> In-Reply-To: <20221020015122.290097-1-ying.huang@intel.com> References: <20221020015122.290097-1-ying.huang@intel.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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, 20 Oct 2022 09:51:22 +0800 Huang Ying wrote: > In sysfs, we use attribute name "cpumap" or "cpus" for cpu mask and > "cpulist" or "cpus_list" for cpu list. For example, in my system, > > $ cat /sys/devices/system/node/node0/cpumap > f,ffffffff > $ cat /sys/devices/system/cpu/cpu2/topology/core_cpus > 0,00100004 > $ cat cat /sys/devices/system/node/node0/cpulist > 0-35 > $ cat /sys/devices/system/cpu/cpu2/topology/core_cpus_list > 2,20 > > It looks reasonable to use "nodemap" for node mask and "nodelist" for > node list. So, rename the attribute to follow the naming convention. I'll add Fixes: 9832fb87834e2b ("mm/demotion: expose memory tier details via sysfs") to this to reduce the risk that someone will backport 9832fb87834e2b but will miss this alteration.