linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Expose swapcache stat for memcg v1
@ 2023-09-15 10:58 Liu Shixin
  2023-09-15 10:58 ` [PATCH v2 1/2] memcg: expose " Liu Shixin
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Liu Shixin @ 2023-09-15 10:58 UTC (permalink / raw)
  To: Andrew Morton, Yosry Ahmed, Michal Koutný,
	Tejun Heo, Zefan Li, Johannes Weiner, Jonathan Corbet,
	Michal Hocko, Kefeng Wang
  Cc: linux-mm, linux-kernel, Liu Shixin

The first patch expose swapcache stat for memcg v1, the second patch
remote unused do_memsw_account() in memcg1_stat_format().

v1->v2: Cover MEMCG_SWAP with CONFIG_SWAP and delete unused code suggested
	by Michal.

Liu Shixin (2):
  memcg: expose swapcache stat for memcg v1
  memcg: remove unused do_memsw_account in memcg1_stat_format

 Documentation/admin-guide/cgroup-v1/memory.rst |  1 +
 mm/memcontrol.c                                | 15 ++++++++-------
 2 files changed, 9 insertions(+), 7 deletions(-)

-- 
2.25.1



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-09-18 19:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-15 10:58 [PATCH v2 0/2] Expose swapcache stat for memcg v1 Liu Shixin
2023-09-15 10:58 ` [PATCH v2 1/2] memcg: expose " Liu Shixin
2023-09-15 10:58 ` [PATCH v2 2/2] memcg: remove unused do_memsw_account in memcg1_stat_format Liu Shixin
2023-09-18 19:12   ` Yosry Ahmed
2023-09-18 18:37 ` [PATCH v2 0/2] Expose swapcache stat for memcg v1 Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox