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

From: Dave Hansen
Date: Thu Sep 08 2016 - 16:24:57 EST


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? Does it
belong in debugfs instead?

I also really question the need to dump kernel addresses out, filtered
or not. What's the point?