2022-06-10 02:56:04

by CGEL

[permalink] [raw]
Subject: [PATCH] mm: memcontrol: reference to tools/cgroup/memcg_slabinfo.py

From: Yang Yang <[email protected]>

There is no slabinfo.py in tools/cgroup, but has memcg_slabinfo.py instead.

Signed-off-by: Yang Yang <[email protected]>
---
mm/memcontrol.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index dfbc84313745..ca714699a8e9 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -4820,7 +4820,7 @@ static int mem_cgroup_slab_show(struct seq_file *m, void *p)
{
/*
* Deprecated.
- * Please, take a look at tools/cgroup/slabinfo.py .
+ * Please, take a look at tools/cgroup/memcg_slabinfo.py .
*/
return 0;
}
--
2.25.1


2022-06-10 07:23:12

by Muchun Song

[permalink] [raw]
Subject: Re: [PATCH] mm: memcontrol: reference to tools/cgroup/memcg_slabinfo.py

On Fri, Jun 10, 2022 at 02:44:52AM +0000, [email protected] wrote:
> From: Yang Yang <[email protected]>
>
> There is no slabinfo.py in tools/cgroup, but has memcg_slabinfo.py instead.
>
> Signed-off-by: Yang Yang <[email protected]>

Reviewed-by: Muchun Song <[email protected]>

Thanks.

2022-06-10 18:27:12

by Roman Gushchin

[permalink] [raw]
Subject: Re: [PATCH] mm: memcontrol: reference to tools/cgroup/memcg_slabinfo.py

On Fri, Jun 10, 2022 at 02:44:52AM +0000, [email protected] wrote:
> From: Yang Yang <[email protected]>
>
> There is no slabinfo.py in tools/cgroup, but has memcg_slabinfo.py instead.
>
> Signed-off-by: Yang Yang <[email protected]>

Acked-by: Roman Gushchin <[email protected]>

Thanks!