Adding support for /proc/buddyinfo for linux free memory fragmentation.

/prod/buddyinfo returns data on the free blocks fragments available
for use from the kernel.  This data is useful when diagnosing
possible memory fragmentation.

More info can be found in:
* https://lwn.net/Articles/7868/
* https://andorian.blogspot.com/2014/03/making-sense-of-procbuddyinfo.html
This commit is contained in:
Thorhallur Sverrisson 2017-02-06 09:56:58 -06:00
commit 3ba15c1ddb
3 changed files with 157 additions and 0 deletions

View file

@ -0,0 +1,3 @@
Node 0, zone DMA 1 0 1 0 2 1 1 0 1 1 3
Node 0, zone DMA32 759 572 791 475 194 45 12 0 0 0 0
Node 0, zone Normal 4381 1093 185 1530 567 102 4 0 0 0 0