From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 997BF348C6C for ; Sat, 20 Jun 2026 12:28:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781958497; cv=none; b=SM6Yfd0Tx8KPCTxmqqqhX/JC5QeNSU3vn/MOaKe4NlS4AvLretfWgaRGZayVkVhsEluExplRjRmnmC456hf7zMjEtMqwsRYeXnUPInirLCRZJfmaY02cKH8YWRz4Kujo82ejSSS4Qx9V+Nu9iYd7vPplfyPl1smCebBwF+ZcO+8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781958497; c=relaxed/simple; bh=J+q2tm0dpONzieAzxCQJ2z9vwqaC+mViTCZ8c5SfpM8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ZL4XjrqaYUrzjMUwBA5wSRznmINm8lDnRc68oEi1A6/qy1v+jvAgHp0Obvyv5oQ9QvrQ2DlZ/gcP0WNhnFG+auaFq8WvcOcok9Biur/MuSCGzCn1qR919XEI9JcUwEEPwmTvSZMU5R+j+Ar+Hg6JhNpLZNELjl5XDm8ZdVBHsaY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=YeIX3trQ; arc=none smtp.client-ip=209.85.128.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="YeIX3trQ" Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-490d6730461so3212265e9.3 for ; Sat, 20 Jun 2026 05:28:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781958493; x=1782563293; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Im+iZLIRK/53fqygAoYA6+h4HUl3WPCXC1dHO2ua9IA=; b=YeIX3trQt8JrXRqVbjPreShbEPIHIvv1dZ+WWLh/gfSaVp0Jen2WsFUD6/BbxWJ2Kq ytU+eGD3EDS7kMvdTTR2Y9VBYLY7KguuKxrrS9VO+n4vUQC82LLImTHaEL5gM0orbhxu 8WBEiXfwdoHv8EKl/FvJc9lwjph4vU4G8HZ+7ytrSij36VFmRodydc7N2lxNwxrgr4sc ERPsrGD1jslOQKyX9Snz6cb1M4HvtsZCYD8+PWGg5HaEf63idi36QKPjE4AnFk1RwRBn LmvtHDyIA6ohKgL6KnLlbN4AIg7ElRFTJ6/x9wkuieGeGzfvW68fhgtiAS4tprM5wh+6 vpoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781958493; x=1782563293; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Im+iZLIRK/53fqygAoYA6+h4HUl3WPCXC1dHO2ua9IA=; b=T0QbWuwbhIGegBYWFHAdZRyFQx5SLvjhl2KYt20uBHZ88hZwen9fiZ2vmmiJyoLqje KSXwAjobYT319u+zsx1Ih++rzrY4xv747cKGcMDAlT/jHWIZfC7Zt1CWXmukMdzaISG/ a9r+pO13zqojWAyKgQQzcwbh58mGA2/UruZ9q9k10gjziqNCUEKXlNtXQTIZPaEQLZsi 7edcu70NPfOP3ZfHGamvXxzVby4e0OyzGZjXLttBzbaH/29ZQW5ScWgEGEAsj+z2tYwM 47ykxHmnfkl7tw5mjL+RyzzovW/iuxlTuhYQmvdBWxbHOgXQMbVAER6ENT3XuiVurbFf L6iA== X-Forwarded-Encrypted: i=1; AFNElJ+De++YTSJMIcuyqMQONZcOX18xsIkdRaDgk4qtXDOEZBbbA94iiH6n3TfeIMca8r1NG/oer4rLX9TdjI8=@vger.kernel.org X-Gm-Message-State: AOJu0YzoxAb6LihpZyRICTgzM7JOHEycyyCRSVyJPoSUlKBrfRa5AIm2 J5RDTLx/eSJJtcY9FwEPSThcFdS6OZm6JdjUNtE3cuJUXPIRFDNYnbdc X-Gm-Gg: AfdE7ckT31Ty0QPrkahvU/LvJGWLMV/OIx3x/4qW3pWLj+XFrtTvPPRdqnJDLQ02wFt x8jEma7tBhujL0bWjW33P0B1NLIOj+Tw0wv/MFCIGdgL8aYW1o4YZhIBx/aRsnIXnb/XeEU+chc KdA+T5oH7x8+V4/MIfHGgSz+eiFQbIyzPfp5BatVGim8eJd8kI9Jkkz1tSD2m/C2xBDvwv6lJlZ nRArXgcSnfc/rdWtABTY9iGEPgvqcNHgFKkedtpwv0FbYxaIjWVcOCiw80TJ0GeybNCNGA02mCy mKMW/ibZJEFcRj00Wyj/n8D9pexqTt0DltEJ/USQS6mn2ElqCZbq1VS3lnl3HYGPQqp7jCx/ZP9 qH4YryhS78+eRButzwOKO6SnDPQQ6EqXd1lGgDRdTeMu0wET9Vhu6LRuj54XJ67BkN3HVRhMjdU 2abetU7zCDC6nAwMaRTsIUmXiZX+A7V7MCQr5IFRPMGoV5Gd0G0suruSAoXXxtN8dloxEkDuPj4 +fVzj7xDPTeiedf X-Received: by 2002:a05:600c:630e:b0:492:38cb:a7ff with SMTP id 5b1f17b1804b1-49246e60fc7mr31082325e9.7.1781958492836; Sat, 20 Jun 2026 05:28:12 -0700 (PDT) Received: from doehyun-dev.pradel.rg.cispa.de (x06.xlate.fw.cispa.de. [195.37.157.6]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49249207dabsm101338325e9.0.2026.06.20.05.28.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Jun 2026 05:28:12 -0700 (PDT) From: Doehyun Baek To: Tejun Heo , Jonathan Corbet Cc: Johannes Weiner , =?UTF-8?q?Michal=20Koutn=C3=BD?= , Andrew Morton , Shakeel Butt , Roman Gushchin , Yosry Ahmed , Nhat Pham , cgroups@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Doehyun Baek Subject: [PATCH] Docs/admin-guide/cgroup-v2: fix memory.stat doc details Date: Sat, 20 Jun 2026 12:27:51 +0000 Message-ID: <20260620122751.388770-1-doehyunbaek@gmail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Fix minor cgroup v2 memory.stat documentation issues. Correct the vmalloc per-node marker now that vmalloc uses the native NR_VMALLOC node stat, and document zswap_incomp as a byte-valued memory amount instead of as a page counter. Fixes: c466412c73c3 ("mm: memcontrol: switch to native NR_VMALLOC vmstat counter") Fixes: 5ad41a38c364 ("mm: zswap: add per-memcg stat for incompressible pages") Signed-off-by: Doehyun Baek --- Documentation/admin-guide/cgroup-v2.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/admin-guide/cgroup-v2.rst b/Documentation/admin-guide/cgroup-v2.rst index 993446ab66d0..ce6741f78f4f 100644 --- a/Documentation/admin-guide/cgroup-v2.rst +++ b/Documentation/admin-guide/cgroup-v2.rst @@ -1570,7 +1570,7 @@ The following nested keys are defined. sock (npn) Amount of memory used in network transmission buffers - vmalloc (npn) + vmalloc Amount of memory used for vmap backed memory. shmem @@ -1735,7 +1735,7 @@ The following nested keys are defined. Number of pages written from zswap to swap. zswap_incomp - Number of incompressible pages currently stored in zswap + Amount of memory used by incompressible pages currently stored in zswap without compression. These pages could not be compressed to a size smaller than PAGE_SIZE, so they are stored as-is. base-commit: 1a3746ccbb0a97bed3c06ccde6b880013b1dddc1 -- 2.43.0