Skip to content

Track pages allocated for struct

Kinsey Ho cgroups linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mm: add generic system-wide page countersinclude/linux/vmstat.h mm/vmstat.c+31 -90 replies
2/2mm, swap: add pages allocated for struct swap_cgroup to vmstatinclude/linux/vmstat.h mm/swap_cgroup.c mm/vmstat.c+9 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH mm-unstable v1 0/2] Track pages allocated for struct

We noticed high overhead for pages allocated for struct swap_cgroup in our fleet. This patchset adds the number of pages allocated for struct swap_cgroup to vmstat. This can be a useful metric for identifying unneeded overhead on systems which configure swap.

Before adding the new stat, Patch 1 introduces a generic system-wide counting interface.

Kinsey Ho (2):
mm: add generic system-wide page counters
mm, swap: add pages allocated for struct swap_cgroup to vmstat

 include/linux/vmstat.h | 11 +++++++++++
 mm/swap_cgroup.c       |  3 +++
 mm/vmstat.c            | 35 ++++++++++++++++++++++++++---------
 3 files changed, 40 insertions(+), 9 deletions(-)
Signature · 1 line
2.47.0.163.g1226f6d8fa-goog