2023-09-12 17:59:47

by Stefan Roesch

[permalink] [raw]
Subject: [PATCH v1 4/4] mm/ksm: document pages_skipped sysfs knob

This adds documentation for the new metric pages_skipped.

Signed-off-by: Stefan Roesch <[email protected]>
---
Documentation/admin-guide/mm/ksm.rst | 2 ++
1 file changed, 2 insertions(+)

diff --git a/Documentation/admin-guide/mm/ksm.rst b/Documentation/admin-guide/mm/ksm.rst
index 1762219baf51..27d949250b67 100644
--- a/Documentation/admin-guide/mm/ksm.rst
+++ b/Documentation/admin-guide/mm/ksm.rst
@@ -178,6 +178,8 @@ pages_unshared
how many pages unique but repeatedly checked for merging
pages_volatile
how many pages changing too fast to be placed in a tree
+pages_skipped
+ how many pages did the "smart" page scanning algorithm skip
full_scans
how many times all mergeable areas have been scanned
stable_node_chains
--
2.39.3


2023-09-18 12:36:55

by David Hildenbrand

[permalink] [raw]
Subject: Re: [PATCH v1 4/4] mm/ksm: document pages_skipped sysfs knob

On 12.09.23 19:52, Stefan Roesch wrote:
> This adds documentation for the new metric pages_skipped.
>
> Signed-off-by: Stefan Roesch <[email protected]>
> ---
> Documentation/admin-guide/mm/ksm.rst | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/admin-guide/mm/ksm.rst b/Documentation/admin-guide/mm/ksm.rst
> index 1762219baf51..27d949250b67 100644
> --- a/Documentation/admin-guide/mm/ksm.rst
> +++ b/Documentation/admin-guide/mm/ksm.rst
> @@ -178,6 +178,8 @@ pages_unshared
> how many pages unique but repeatedly checked for merging
> pages_volatile
> how many pages changing too fast to be placed in a tree
> +pages_skipped
> + how many pages did the "smart" page scanning algorithm skip
> full_scans
> how many times all mergeable areas have been scanned
> stable_node_chains

Reviewed-by: David Hildenbrand <[email protected]>

--
Cheers,

David / dhildenb