Re: [PATCH] mm: hide per-cpu lists in output of show_mem()

2015-02-25 Thread Andrew Morton
On Tue, 24 Feb 2015 13:03:01 +0400 Konstantin Khlebnikov wrote: > On Mon, Feb 23, 2015 at 5:37 PM, Michal Hocko 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 counte

Re: [PATCH] mm: hide per-cpu lists in output of show_mem()

2015-02-24 Thread David Rientjes
On Wed, 25 Feb 2015, Konstantin Khlebnikov wrote: > >> @@ -3220,11 +3229,10 @@ void show_free_areas(unsigned int filter) > >> > >> printk("active_anon:%lu inactive_anon:%lu isolated_anon:%lu\n" > >> " active_file:%lu inactive_file:%lu isolated_file:%lu\n" > >> - " u

Re: [PATCH] mm: hide per-cpu lists in output of show_mem()

2015-02-24 Thread Konstantin Khlebnikov
On Tue, Feb 24, 2015 at 11:41 PM, David Rientjes wrote: > On Fri, 20 Feb 2015, Konstantin Khlebnikov wrote: > >> diff --git a/include/linux/mm.h b/include/linux/mm.h >> index 028565a..0538de0 100644 >> --- a/include/linux/mm.h >> +++ b/include/linux/mm.h >> @@ -1126,6 +1126,7 @@ extern void pagefa

Re: [PATCH] mm: hide per-cpu lists in output of show_mem()

2015-02-24 Thread David Rientjes
On Fri, 20 Feb 2015, Konstantin Khlebnikov wrote: > diff --git a/include/linux/mm.h b/include/linux/mm.h > index 028565a..0538de0 100644 > --- a/include/linux/mm.h > +++ b/include/linux/mm.h > @@ -1126,6 +1126,7 @@ extern void pagefault_out_of_memory(void); > * various contexts. > */ > #defin

Re: [PATCH] mm: hide per-cpu lists in output of show_mem()

2015-02-24 Thread Konstantin Khlebnikov
On Mon, Feb 23, 2015 at 5:37 PM, Michal Hocko 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 counte

Re: [PATCH] mm: hide per-cpu lists in output of show_mem()

2015-02-23 Thread Michal Hocko
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

Re: [PATCH] mm: hide per-cpu lists in output of show_mem()

2015-02-20 Thread Andrew Morton
On Fri, 20 Feb 2015 17:39:42 +0300 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-c

[PATCH] mm: hide per-cpu lists in output of show_mem()

2015-02-20 Thread Konstantin Khlebnikov
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). Flag SHOW_MEM_PERCPU_LISTS reverts ol

Re: [PATCH] mm: hide per-cpu lists in output of show_mem()

2015-02-20 Thread Konstantin Khlebnikov
On 20.02.2015 17:39, 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