Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1592422
| From | Anshuman Khandual <khandual@linux.vnet.ibm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [patch v2] mm, vmstat: print non-populated zones in zoneinfo |
| Date | 2017-03-04 09:30 +0100 |
| Message-ID | <thdeG-6jT-1@gated-at.bofh.it> (permalink) |
| References | <tgL8J-2LO-1@gated-at.bofh.it> <th1nc-5Qy-23@gated-at.bofh.it> <th4bn-7P9-15@gated-at.bofh.it> <th4l4-7SF-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 03/04/2017 04:23 AM, David Rientjes wrote: > Initscripts can use the information (protection levels) from > /proc/zoneinfo to configure vm.lowmem_reserve_ratio at boot. > > vm.lowmem_reserve_ratio is an array of ratios for each configured zone on > the system. If a zone is not populated on an arch, /proc/zoneinfo > suppresses its output. > > This results in there not being a 1:1 mapping between the set of zones > emitted by /proc/zoneinfo and the zones configured by > vm.lowmem_reserve_ratio. > > 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. > > Remaining users of walk_zones_in_node() are unchanged. Files such as > /proc/pagetypeinfo require certain zone data to be initialized properly > for display, which is not done for unpopulated zones. > > Signed-off-by: David Rientjes <rientjes@google.com> Reviewed-by: Anshuman Khandual <khandual@linux.vnet.ibm.com>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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