* [PATCH] samples/cgroup: rm unused MEMCG_EVENTS macro
@ 2025-09-03 7:30 zhangjiao2
2025-09-04 23:55 ` Shakeel Butt
0 siblings, 1 reply; 2+ messages in thread
From: zhangjiao2 @ 2025-09-03 7:30 UTC (permalink / raw)
To: hannes
Cc: mhocko, roman.gushchin, shakeel.butt, muchun.song, cgroups,
linux-mm, linux-kernel, zhang jiao
From: zhang jiao <zhangjiao2@cmss.chinamobile.com>
MEMCG_EVENTS is never referenced in the code. Just remove it.
Signed-off-by: zhang jiao <zhangjiao2@cmss.chinamobile.com>
---
samples/cgroup/memcg_event_listener.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/samples/cgroup/memcg_event_listener.c b/samples/cgroup/memcg_event_listener.c
index a1667fe2489a..41425edbd88a 100644
--- a/samples/cgroup/memcg_event_listener.c
+++ b/samples/cgroup/memcg_event_listener.c
@@ -18,8 +18,6 @@
#include <sys/inotify.h>
#include <unistd.h>
-#define MEMCG_EVENTS "memory.events"
-
/* Size of buffer to use when reading inotify events */
#define INOTIFY_BUFFER_SIZE 8192
--
2.33.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] samples/cgroup: rm unused MEMCG_EVENTS macro
2025-09-03 7:30 [PATCH] samples/cgroup: rm unused MEMCG_EVENTS macro zhangjiao2
@ 2025-09-04 23:55 ` Shakeel Butt
0 siblings, 0 replies; 2+ messages in thread
From: Shakeel Butt @ 2025-09-04 23:55 UTC (permalink / raw)
To: zhangjiao2
Cc: hannes, mhocko, roman.gushchin, muchun.song, cgroups, linux-mm,
linux-kernel
On Wed, Sep 03, 2025 at 03:30:59PM +0800, zhangjiao2 wrote:
> From: zhang jiao <zhangjiao2@cmss.chinamobile.com>
>
> MEMCG_EVENTS is never referenced in the code. Just remove it.
>
> Signed-off-by: zhang jiao <zhangjiao2@cmss.chinamobile.com>
Acked-by: Shakeel Butt <shakeel.butt@linux.dev>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-09-04 23:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-03 7:30 [PATCH] samples/cgroup: rm unused MEMCG_EVENTS macro zhangjiao2
2025-09-04 23:55 ` Shakeel Butt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox