Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1592323

Re: [patch] mm, zoneinfo: print non-populated zones

From David Rientjes <rientjes@google.com>
Newsgroups linux.kernel
Subject Re: [patch] mm, zoneinfo: print non-populated zones
Date 2017-03-03 23:50 +0100
Message-ID <th4bn-7P9-15@gated-at.bofh.it> (permalink)
References <tgL8J-2LO-1@gated-at.bofh.it> <th1nc-5Qy-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, 3 Mar 2017, Anshuman Khandual wrote:

> > This patch shows statistics for non-populated zones in /proc/zoneinfo.
> > The zones exist and hold a spot in the vm.lowmem_reserve_ratio array.
> > Without this patch, it is not possible to determine which index in the
> > array controls which zone if one or more zones on the system are not
> > populated.
> 
> Right, its a problem when it does not even display array elements with
> an index value associated with it. But changing the array display will
> break the interface where as displaying non populated zones in the
> /proc/zoneinfo does not break anything.
> 

Precisely.

> The name of the Boolean "populated" is bit misleading IMHO. What I think you
> want here is to invoke the callback if the zone is populated as well as this
> variable is true. The variable can be named something like 'assert_populated'.
> 

I like it, I'll send a v2.  Thanks.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[patch] mm, zoneinfo: print non-populated zones David Rientjes <rientjes@google.com> - 2017-03-03 03:30 +0100
  Re: [patch] mm, zoneinfo: print non-populated zones Anshuman Khandual <khandual@linux.vnet.ibm.com> - 2017-03-03 20:50 +0100
    Re: [patch] mm, zoneinfo: print non-populated zones David Rientjes <rientjes@google.com> - 2017-03-03 23:50 +0100
      [patch v2] mm, vmstat: print non-populated zones in zoneinfo David Rientjes <rientjes@google.com> - 2017-03-04 00:00 +0100
        Re: [patch v2] mm, vmstat: print non-populated zones in zoneinfo Anshuman Khandual <khandual@linux.vnet.ibm.com> - 2017-03-04 09:30 +0100
        [patch -mm] mm, vmstat: suppress pcp stats for unpopulated zones in  zoneinfo David Rientjes <rientjes@google.com> - 2017-03-06 23:20 +0100
          Re: [patch -mm] mm, vmstat: suppress pcp stats for unpopulated  zones in zoneinfo Andrew Morton <akpm@linux-foundation.org> - 2017-03-06 23:30 +0100
        Re: [patch v2] mm, vmstat: print non-populated zones in zoneinfo Michal Hocko <mhocko@kernel.org> - 2017-03-08 16:00 +0100

csiph-web