Skip to content

Commit

Permalink
cgroup: Add documentation for missing zswap memory.stat
Browse files Browse the repository at this point in the history
This includes zswpin, zswpout and zswpwb.

Signed-off-by: Usama Arif <usamaarif642@gmail.com>
Acked-by: Nhat Pham <nphamcs@gmail.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20240502185307.3942173-2-usamaarif642@gmail.com>
  • Loading branch information
uarif1 authored and Jonathan Corbet committed May 9, 2024
1 parent d3dedad commit db5b4f3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Documentation/admin-guide/cgroup-v2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1572,6 +1572,15 @@ PAGE_SIZE multiple when read back.
pglazyfreed (npn)
Amount of reclaimed lazyfree pages

zswpin
Number of pages moved in to memory from zswap.

zswpout
Number of pages moved out of memory to zswap.

zswpwb
Number of pages written from zswap to swap.

thp_fault_alloc (npn)
Number of transparent hugepages which were allocated to satisfy
a page fault. This counter is not present when CONFIG_TRANSPARENT_HUGEPAGE
Expand Down

0 comments on commit db5b4f3

Please sign in to comment.