All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] memcg: OOM log improvements
@ 2023-04-26 13:39 ` Yosry Ahmed
  0 siblings, 0 replies; 26+ messages in thread
From: Yosry Ahmed @ 2023-04-26 13:39 UTC (permalink / raw)
  To: Johannes Weiner, Michal Hocko, Roman Gushchin, Shakeel Butt,
	Andrew Morton
  Cc: Muchun Song, Sergey Senozhatsky, Steven Rostedt, Petr Mladek,
	Chris Li, cgroups-u79uwXL29TY76Z2rM5mHXA,
	linux-mm-Bw31MaZKKs3YtjvyW6yDsg,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Yosry Ahmed

This short patch series brings back some cgroup v1 stats in OOM logs,
and it makes memcg OOM logging less reliant on printk() internals.

The series uses seq_buf_do_printk() which was only recently introduced
[1]. It did not land in Linus's tree yet, but ideally it will land this
merge window. I thought I would share the patches meanwhile for
feedback.

[1]https://lore.kernel.org/lkml/20230415100110.1419872-1-senozhatsky-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org/

Yosry Ahmed (2):
  memcg: use seq_buf_do_printk() with mem_cgroup_print_oom_meminfo()
  memcg: dump memory.stat during cgroup OOM for v1

 mm/memcontrol.c | 85 ++++++++++++++++++++++++++++---------------------
 1 file changed, 48 insertions(+), 37 deletions(-)

-- 
2.40.1.495.gc816e09b53d-goog


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

end of thread, other threads:[~2023-04-28 13:05 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-26 13:39 [PATCH 0/2] memcg: OOM log improvements Yosry Ahmed
2023-04-26 13:39 ` Yosry Ahmed
     [not found] ` <20230426133919.1342942-1-yosryahmed-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2023-04-26 13:39   ` [PATCH 1/2] memcg: use seq_buf_do_printk() with mem_cgroup_print_oom_meminfo() Yosry Ahmed
2023-04-26 13:39     ` Yosry Ahmed
     [not found]     ` <20230426133919.1342942-2-yosryahmed-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2023-04-26 15:24       ` Michal Hocko
2023-04-26 15:24         ` Michal Hocko
2023-04-27  0:55         ` Sergey Senozhatsky
2023-04-27  0:45       ` Sergey Senozhatsky
2023-04-27  0:45         ` Sergey Senozhatsky
2023-04-26 14:19   ` [PATCH 0/2] memcg: OOM log improvements Steven Rostedt
2023-04-26 14:19     ` Steven Rostedt
2023-04-26 14:20     ` Yosry Ahmed
2023-04-26 14:20       ` Yosry Ahmed
2023-04-26 13:39 ` [PATCH 2/2] memcg: dump memory.stat during cgroup OOM for v1 Yosry Ahmed
     [not found]   ` <20230426133919.1342942-3-yosryahmed-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2023-04-26 15:27     ` Michal Hocko
2023-04-26 15:27       ` Michal Hocko
2023-04-27  9:21       ` Yosry Ahmed
2023-04-27  9:21         ` Yosry Ahmed
     [not found]         ` <CAJD7tkZ1cODXRuVQ3fWL0s=VsyKZqDPPNqFZec_COAXm0XfXWA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-04-27 14:06           ` Michal Hocko
2023-04-27 14:06             ` Michal Hocko
2023-04-27 22:12             ` Yosry Ahmed
2023-04-27 22:12               ` Yosry Ahmed
     [not found]               ` <CAJD7tkac7VKV6Ob8qQWzhm8Ayyk3xB0YCY6edL-TxpXV3aCzXA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-04-28  9:44                 ` Michal Hocko
2023-04-28  9:44                   ` Michal Hocko
     [not found]                   ` <ZEuVaxSUo7WxLn3K-2MMpYkNvuYDjFM9bn6wA6Q@public.gmane.org>
2023-04-28 13:05                     ` Yosry Ahmed
2023-04-28 13:05                       ` Yosry Ahmed

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.