[PATCH v2 0/2] Expose swapcache stat for memcg v1

Liu Shixin posted 2 patches 2 years, 3 months ago
Documentation/admin-guide/cgroup-v1/memory.rst |  1 +
mm/memcontrol.c                                | 15 ++++++++-------
2 files changed, 9 insertions(+), 7 deletions(-)
[PATCH v2 0/2] Expose swapcache stat for memcg v1
Posted by Liu Shixin 2 years, 3 months ago
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
Re: [PATCH v2 0/2] Expose swapcache stat for memcg v1
Posted by Tejun Heo 2 years, 3 months ago
On Fri, Sep 15, 2023 at 06:58:43PM +0800, Liu Shixin wrote:
> 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

Acked-by: Tejun heo <tj@kernel.org>

Thanks.

-- 
tejun