From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 759AA21324B for ; Fri, 10 Jan 2025 15:26:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736522809; cv=none; b=pj865zjJFyPb7dTIY07pternZARw/PnD3iIPKn+km3SCvwyHQhsZDsk/+l36Woo68v3ZfMDLcZuPJJlS6/ud63BkbZjfNDyS2wy7pxU9oHYZ4TBSILr1x8hygaDhrUZz+OJNwM31JnZ3nYvOi0ZTu+Y2CDfLp+mFzyQisd50hD0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736522809; c=relaxed/simple; bh=Ex4aV9Edi1DChr2/EY5NFS6dOSHhG+EPFES7jbVumoM=; h=From:Message-ID:Date:MIME-Version:Subject:To:Cc:References: In-Reply-To:Content-Type; b=hufv68ClWWBXwZ8jHlPf0hjtECqe1KebD+AyTfCd8Q41JSBzfGPk0Yo4IjzmOzypsjomBC6K/jmz55A+XG0mmN8CtVTc7i3tYKpFd9DbR/IcvuGSrnlKjDrH6zA51G5JV3/NaS6CVwWZVwjK9pxdm9ud/rxIWr4boE6KDNwqjG4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=LNMpkElf; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="LNMpkElf" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1736522806; h=from:from: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=bdBZ2RENbUeoKAX57hmRqAxpZLgO4MtDE/EdcNWg7K8=; b=LNMpkElfi8pSiWAvBBDOHGV/TK5jQFQHec/URd2+LMWWyBcFXTzFMnRc3NcvNdyCdwkjEn O9PMCxuQx2Ir0bc50DRpjwkt/Kab8ZeST+ORnSjJ6scBir3GRF5O8ejmsM8A03s3LUril9 PsBjML3ceNrmfwao6jmh+z8bk+Wt2iE= Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-635-4NqUCyJZMOengEosNQqBkQ-1; Fri, 10 Jan 2025 10:26:45 -0500 X-MC-Unique: 4NqUCyJZMOengEosNQqBkQ-1 X-Mimecast-MFC-AGG-ID: 4NqUCyJZMOengEosNQqBkQ Received: by mail-qk1-f197.google.com with SMTP id af79cd13be357-7b6e178d4f8so355803585a.3 for ; Fri, 10 Jan 2025 07:26:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736522804; x=1737127604; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:user-agent:mime-version:date:message-id:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bdBZ2RENbUeoKAX57hmRqAxpZLgO4MtDE/EdcNWg7K8=; b=YQ0aIyrh+5guAwI/CB7SqKVzHlQ1hJh9aoT3Pwg7/RnwDTpt9KmgguqULEVCtjOG+u wHAJ3+fdkcoMdMwjenpnyg6v74Opou4M8fZVLWBG+AuQeHTV/jhBTIwwF46jeJivGMdf oVwLgzSzAR2UpHS5Zpgxcw7lTICqJmTSgX1YDO7RSgwbxPK+k4RotsohmNFpZ6X6HDIV nqAWx8bWwkRC1WUQ55XaHT2ZHKsgz++NoutdI8z70pCxYNQuZllyY69D6roHtA8cCtwO EICO4vr69+8RborSc9YZaykYYBjBPbYD+UPJmfLjI95TW1mUQj6dirZ71VZWeFlXEu/x 7h0w== X-Forwarded-Encrypted: i=1; AJvYcCWRAF3yMBI2hIO+DJgy9/RL5FoxQHFuQLol4DbEayrlNZ7GjD6s4HGuxys9WXeZZrHykoWcNQV2hjzvjzE=@vger.kernel.org X-Gm-Message-State: AOJu0YxnOtelzGelephYl8NLiP9ZF5IbarNsCOThDy6T/C/Czkfr/Si5 ZDPkLW9vAMHRVuypYTLEZV3GrCmnBqyR0lWkP+tvmZT7DbMxXyIBUBQpaDw1QlXpapQvEHo7MlV /j//X7dTSY4SdY6Yg1v5CSnMb9NWvInyBOXAKnzT5bPphZYe6oivmUA0U6ulH5A== X-Gm-Gg: ASbGncuSO1/+MrMwrvQQF/lO3CN4J40AbPWRSUGxN6hGM1posrtIz/SmqellRe4+DVA 7di4KhccQsAbQrzbIaa4Q15QQE03kRnPoYrfGBuT1CufL3hNAyP8HEEt5AQT68OrJWmrOfsZr2T zOkNr3/fwi+4lKHroAtIwBTc15wqIV8JXynaIbG/sY2nA3PseYV5MGujSJ+mRu42WeRJ+Js5TSy WPN5iYAn/G8o51vELV0zc2GJwTQ2OCkSyMfodATxORZirG1FNdznfnFncKi4tSZQXAd0KiIJDcg hhYtb3Cy5W0Gpk5IsoR+nRML X-Received: by 2002:a05:620a:404b:b0:7b6:eab3:cdd4 with SMTP id af79cd13be357-7bcd97705fcmr1737385585a.50.1736522804671; Fri, 10 Jan 2025 07:26:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IGSahWFMhjNZQYhJ7J2TpMjNCXwN3Xv7VEbJyK4KJevacPGwI8K2RfhqqheueQiOBPMKvPiZQ== X-Received: by 2002:a05:620a:404b:b0:7b6:eab3:cdd4 with SMTP id af79cd13be357-7bcd97705fcmr1737381785a.50.1736522804298; Fri, 10 Jan 2025 07:26:44 -0800 (PST) Received: from ?IPV6:2601:188:ca00:a00:f844:fad5:7984:7bd7? ([2601:188:ca00:a00:f844:fad5:7984:7bd7]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7bce3516027sm181319985a.110.2025.01.10.07.26.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 10 Jan 2025 07:26:43 -0800 (PST) From: Waiman Long X-Google-Original-From: Waiman Long Message-ID: Date: Fri, 10 Jan 2025 10:26:40 -0500 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] Documentation/cgroup-v2: Update memory.numa_stat description to reflect possible units To: Li Zhijian , linux-doc@vger.kernel.org Cc: Tejun Heo , Johannes Weiner , mkoutny@suse.com, Jonathan Corbet , cgroups@vger.kernel.org, linux-kernel@vger.kernel.org References: <20250110123019.423725-1-lizhijian@fujitsu.com> Content-Language: en-US In-Reply-To: <20250110123019.423725-1-lizhijian@fujitsu.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 1/10/25 7:30 AM, Li Zhijian wrote: > The description of the memory.numa_stat file has been updated to clarify > that the output values can be in bytes or pages. This change ensures that > users are aware that the unit of measurement for memory values can vary > and should be verified by consulting the memory.stat > > It's known that > workingset_*, pgdemote_* and pgpromote_success are counted in pages > > Signed-off-by: Li Zhijian > --- > Documentation/admin-guide/cgroup-v2.rst | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/Documentation/admin-guide/cgroup-v2.rst b/Documentation/admin-guide/cgroup-v2.rst > index 315ede811c9d..5d1d44547409 100644 > --- a/Documentation/admin-guide/cgroup-v2.rst > +++ b/Documentation/admin-guide/cgroup-v2.rst > @@ -1427,7 +1427,7 @@ The following nested keys are defined. > types of memory, type-specific details, and other information > on the state and past events of the memory management system. > > - All memory amounts are in bytes. > + All memory amounts are in bytes or bytes. You mean "bytes or pages". Right? Cheers, Longman