diff options
author | Kanchana P Sridhar <[email protected]> | 2024-09-30 22:32:22 -0700 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-11-11 00:26:43 -0800 |
commit | 0c560dd86040556a9e55d88229d9295672428c78 (patch) | |
tree | c3b3164175132c26446bd03d696f37e748592935 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | b7c0ccdfbafdec98699ddb6f164beebf16f0bc45 (diff) |
mm: swap: count successful large folio zswap stores in hugepage zswpout stats
Added a new MTHP_STAT_ZSWPOUT entry to the sysfs transparent_hugepage
stats so that successful large folio zswap stores can be accounted under
the per-order sysfs "zswpout" stats:
/sys/kernel/mm/transparent_hugepage/hugepages-*kB/stats/zswpout
Other non-zswap swap device swap-out events will be counted under
the existing sysfs "swpout" stats:
/sys/kernel/mm/transparent_hugepage/hugepages-*kB/stats/swpout
Also, added documentation for the newly added sysfs per-order hugepage
"zswpout" stats. The documentation clarifies that only non-zswap swapouts
will be accounted in the existing "swpout" stats.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Kanchana P Sridhar <[email protected]>
Reviewed-by: Nhat Pham <[email protected]>
Cc: Chengming Zhou <[email protected]>
Cc: "Huang, Ying" <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Ryan Roberts <[email protected]>
Cc: Shakeel Butt <[email protected]>
Cc: Usama Arif <[email protected]>
Cc: Wajdi Feghali <[email protected]>
Cc: Yosry Ahmed <[email protected]>
Cc: "Zou, Nanhai" <[email protected]>
Cc: Barry Song <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions