Re: [PATCH V4] mm: Add sysfs interface to dump each node's zonelist information

2016-10-13 Thread Anshuman Khandual
On 09/20/2016 06:24 AM, David Rientjes wrote: > On Sat, 17 Sep 2016, Anshuman Khandual wrote: > >>> > > I'm questioning if this information can be inferred from information >>> > > already in /proc/zoneinfo and sysfs. We know the no-fallback zonelist >>> > > is >>> > > going to include the loc

Re: [PATCH V4] mm: Add sysfs interface to dump each node's zonelist information

2016-09-19 Thread David Rientjes
On Sat, 17 Sep 2016, Anshuman Khandual wrote: > > I'm questioning if this information can be inferred from information > > already in /proc/zoneinfo and sysfs. We know the no-fallback zonelist is > > going to include the local node, and we know the other zonelists are > > either node ordered o

Re: [PATCH V4] mm: Add sysfs interface to dump each node's zonelist information

2016-09-16 Thread Anshuman Khandual
On 09/12/2016 11:43 PM, David Rientjes wrote: > On Mon, 12 Sep 2016, Anshuman Khandual wrote: > > after memory or node hot[un]plug is desirable. This change adds one > new sysfs interface (/sys/devices/system/memory/system_zone_details) > which will fetch and dump this information. >>>

Re: [PATCH V4] mm: Add sysfs interface to dump each node's zonelist information

2016-09-12 Thread David Rientjes
On Mon, 12 Sep 2016, Anshuman Khandual wrote: > >> > after memory or node hot[un]plug is desirable. This change adds one > >> > new sysfs interface (/sys/devices/system/memory/system_zone_details) > >> > which will fetch and dump this information. > > Doesn't this violate the "one value per file"

Re: [PATCH V4] mm: Add sysfs interface to dump each node's zonelist information

2016-09-11 Thread Anshuman Khandual
On 09/09/2016 01:54 AM, Dave Hansen wrote: > On 09/07/2016 07:46 PM, Anshuman Khandual wrote: >> > after memory or node hot[un]plug is desirable. This change adds one >> > new sysfs interface (/sys/devices/system/memory/system_zone_details) >> > which will fetch and dump this information. > Doesn't

Re: [PATCH V4] mm: Add sysfs interface to dump each node's zonelist information

2016-09-11 Thread Anshuman Khandual
On 09/09/2016 07:06 PM, Michal Hocko wrote: > On Thu 08-09-16 08:16:58, Anshuman Khandual wrote: >> > Each individual node in the system has a ZONELIST_FALLBACK zonelist >> > and a ZONELIST_NOFALLBACK zonelist. These zonelists decide fallback >> > order of zones during memory allocations. Sometimes

Re: [PATCH V4] mm: Add sysfs interface to dump each node's zonelist information

2016-09-09 Thread Michal Hocko
On Thu 08-09-16 08:16:58, Anshuman Khandual wrote: > Each individual node in the system has a ZONELIST_FALLBACK zonelist > and a ZONELIST_NOFALLBACK zonelist. These zonelists decide fallback > order of zones during memory allocations. Sometimes it helps to dump > these zonelists to see the priority

Re: [PATCH V4] mm: Add sysfs interface to dump each node's zonelist information

2016-09-08 Thread Dave Hansen
On 09/07/2016 07:46 PM, Anshuman Khandual wrote: > after memory or node hot[un]plug is desirable. This change adds one > new sysfs interface (/sys/devices/system/memory/system_zone_details) > which will fetch and dump this information. Doesn't this violate the "one value per file" sysfs rule? Doe

Re: [PATCH V4] mm: Add sysfs interface to dump each node's zonelist information

2016-09-08 Thread kbuild test robot
Hi Anshuman, [auto build test ERROR on driver-core/driver-core-testing] [also build test ERROR on v4.8-rc5] [cannot apply to next-20160908] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --ba