Kumar Gala wrote:Out of interest how to do you guys represent NUMA regions of memory inLooking at the source code in numa.c I see at the start of
the device tree?
- k
do_init_bootmem() that parse_numa_properties() is called. It appears to
be looking at memory nodes and getting the node id from it. It gets an
associativity property for the memory node and indexes that array with a
'min_common_depth' value to get the node id.
This node id is then used to setup the active ranges in the
early_node_map[].
Is this what you are asking about? There are others I am sure who know
more about it then I though.