Messages in this thread | | | Date | Wed, 25 Feb 2015 13:44:26 -0800 | From | Andrew Morton <> | Subject | Re: [PATCH] mm: hide per-cpu lists in output of show_mem() |
| |
On Tue, 24 Feb 2015 13:03:01 +0400 Konstantin Khlebnikov <koct9i@gmail.com> wrote:
> On Mon, Feb 23, 2015 at 5:37 PM, Michal Hocko <mhocko@suse.cz> wrote: > > On Fri 20-02-15 17:39:42, Konstantin Khlebnikov wrote: > >> This makes show_mem() much less verbose at huge machines. Instead of > >> huge and almost useless dump of counters for each per-zone per-cpu > >> lists this patch prints sum of these counters for each zone (free_pcp) > >> and size of per-cpu list for current cpu (local_pcp). > > > > I like this! I do not remember when I found this information useful > > while debugging either an allocation failure warning or OOM killer > > report. > > > >> Flag SHOW_MEM_PERCPU_LISTS reverts old verbose mode. > > > > Nobody seems to be using this flag so why bother? > > Yes. But this might be important for architectures which has asymmetrical > memory topology, I've heard about unicorns like that.
Please provide more details about this (why important? How would it be used) and I'll add it to the changelog.
| |