RE: [2.6.6 PATCH] Exposing EFI memory map

Luck, Tony
2004-05-06T13:23:27Z

>2) Can the memory map output ever be larger than PAGE_SIZE (lower
>limit is 4KB on x86)? If not, what guarantees that? If so, you need
>your own read mechanism rather than the generic sysfs one.

The output format of the sprintf() gives 58 characters per entry, which
with a 4k page allows for 70 entries before the page overflows, which
feels borderline for ccNUMA machines. On ia64 the pagesize is usually
16k, which would allow 282 entries. I think this will fail on a 128
node SGI sn2 (because there are 4 memory banks per node => min 512
entries
in the memory map).

-Tony