RE: [2.6.6 PATCH] Exposing EFI memory map

From: Luck, Tony
Date: Thu May 06 2004 - 08:30:43 EST


>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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/