]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Docs/admin-guide/cgroup-v2: fix memory.stat doc details
authorDoehyun Baek <doehyunbaek@gmail.com>
Sat, 20 Jun 2026 12:27:51 +0000 (12:27 +0000)
committerTejun Heo <tj@kernel.org>
Wed, 24 Jun 2026 19:56:29 +0000 (09:56 -1000)
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 <doehyunbaek@gmail.com>
Reviewed-by: Nhat Pham <nphamcs@gmail.com>
Acked-by: Michal Koutný <mkoutny@suse.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Documentation/admin-guide/cgroup-v2.rst

index 993446ab66d0fbc4f801d8e0bd47ab720af50618..ce6741f78f4fff08d7ffbf8fe4009ec7a107bda7 100644 (file)
@@ -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.