* [PATCH] cgroup: Add documentation for missing zswap memory.stat
@ 2024-05-01 9:53 Usama Arif
2024-05-01 12:02 ` Johannes Weiner
0 siblings, 1 reply; 2+ messages in thread
From: Usama Arif @ 2024-05-01 9:53 UTC (permalink / raw)
To: hannes, tj, lizefan.x, nphamcs, corbet
Cc: linux-mm, cgroups, linux-doc, linux-kernel, kernel-team, Usama Arif
This includes zswpin, zswpout and zswpwb.
Signed-off-by: Usama Arif <usamaarif642@gmail.com>
---
Documentation/admin-guide/cgroup-v2.rst | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/Documentation/admin-guide/cgroup-v2.rst b/Documentation/admin-guide/cgroup-v2.rst
index 17e6e9565156..48ec54627814 100644
--- a/Documentation/admin-guide/cgroup-v2.rst
+++ b/Documentation/admin-guide/cgroup-v2.rst
@@ -1454,6 +1454,15 @@ PAGE_SIZE multiple when read back.
zswapped
Amount of application memory swapped out to zswap.
+ 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.
+
file_mapped
Amount of cached filesystem data mapped with mmap()
--
2.43.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] cgroup: Add documentation for missing zswap memory.stat
2024-05-01 9:53 [PATCH] cgroup: Add documentation for missing zswap memory.stat Usama Arif
@ 2024-05-01 12:02 ` Johannes Weiner
0 siblings, 0 replies; 2+ messages in thread
From: Johannes Weiner @ 2024-05-01 12:02 UTC (permalink / raw)
To: Usama Arif
Cc: tj, lizefan.x, nphamcs, corbet, linux-mm, cgroups, linux-doc,
linux-kernel, kernel-team
On Wed, May 01, 2024 at 10:53:49AM +0100, Usama Arif wrote:
> This includes zswpin, zswpout and zswpwb.
Good idea adding these!
> Signed-off-by: Usama Arif <usamaarif642@gmail.com>
> ---
> Documentation/admin-guide/cgroup-v2.rst | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/Documentation/admin-guide/cgroup-v2.rst b/Documentation/admin-guide/cgroup-v2.rst
> index 17e6e9565156..48ec54627814 100644
> --- a/Documentation/admin-guide/cgroup-v2.rst
> +++ b/Documentation/admin-guide/cgroup-v2.rst
> @@ -1454,6 +1454,15 @@ PAGE_SIZE multiple when read back.
> zswapped
> Amount of application memory swapped out to zswap.
>
> + 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.
> +
They should go between pglazyfreed and thp_fault_alloc to match the
output ordering (they're event counters, not memory counters).
> file_mapped
> Amount of cached filesystem data mapped with mmap()
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-05-01 12:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-01 9:53 [PATCH] cgroup: Add documentation for missing zswap memory.stat Usama Arif
2024-05-01 12:02 ` Johannes Weiner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox