diff options
author | Stefan Roesch <shr@devkernel.io> | 2023-08-11 22:36:55 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-08-21 23:38:02 +0300 |
commit | b348b5fe2b5f14ac8bb64fe271d7a027db8cc674 (patch) | |
tree | cf5763397ef785757026521d9014225da3b483a8 /mm/kmemleak.c | |
parent | 0790e1e2b1b71ba357e89e779451efe79dff28e6 (diff) | |
download | linux-b348b5fe2b5f14ac8bb64fe271d7a027db8cc674.tar.xz |
mm/ksm: add pages scanned metric
ksm currently maintains several statistics, which let you determine how
successful KSM is at sharing pages. However it does not contain a metric
to determine how much work it does.
This commit adds the pages scanned metric. This allows the administrator
to determine how many pages have been scanned over a period of time.
Link: https://lkml.kernel.org/r/20230811193655.2518943-1-shr@devkernel.io
Signed-off-by: Stefan Roesch <shr@devkernel.io>
Acked-by: David Hildenbrand <david@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Rik van Riel <riel@surriel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/kmemleak.c')
0 files changed, 0 insertions, 0 deletions