RE: [PATCH] mm: Introduce kernelcore=reliable option

From: Luck, Tony
Date: Thu Oct 22 2015 - 19:27:11 EST


> I think /proc/zoneinfo can show detailed numbers per zone. Do we need some for meminfo ?

I wrote a little script (attached) to summarize /proc/zoneinfo ... on my system it says

$ zoneinfo
Node Normal Movable DMA DMA32
0 0.00 103020.07 8.94 1554.46
1 9284.54 89870.43
2 9626.33 94050.09
3 9602.82 93650.04

Not sure why I have zero Normal memory free on node0. The sum of all those
free counts is 410667.72 MB ... which is close enough to the boot time message
showing the amount of mirror/total memory:

[ 0.000000] efi: Memory: 80979/420096M mirrored memory

but a fair amount of the 80G of mirrored memory seems to have been miscounted
as Movable instead of Normal. Perhaps this is because I have two blocks of mirrored
memory on each node and the movable zone code doesn't expect that?

-Tony



Attachment: zoneinfo
Description: zoneinfo