[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Yl+vHJ3lSLn5ZkWN@dhcp22.suse.cz>
Date: Wed, 20 Apr 2022 08:58:36 +0200
From: Michal Hocko <mhocko@...e.com>
To: Kent Overstreet <kent.overstreet@...il.com>
Cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org,
linux-fsdevel@...r.kernel.org, roman.gushchin@...ux.dev,
hannes@...xchg.org
Subject: Re: [PATCH 3/4] mm: Centralize & improve oom reporting in show_mem.c
On Tue 19-04-22 16:32:01, Kent Overstreet wrote:
> This patch:
> - Moves lib/show_mem.c to mm/show_mem.c
Sure, why not. Should be a separate patch.
> - Changes show_mem() to always report on slab usage
> - Instead of reporting on all slabs, we only report on top 10 slabs,
> and in sorted order
> - Also reports on shrinkers, with the new shrinkers_to_text().
Why do we need/want this? It would be also great to provide an example
of why the new output is better (in which cases) than the existing one.
--
Michal Hocko
SUSE Labs
Powered by blists - more mailing lists