Re: [PATCH x86/mm] x86-64, NUMA: Don't assume phys node 0 is alwaysonline in numa_emulation() handling

From: David Rientjes
Date: Fri Mar 04 2011 - 16:33:43 EST


On Fri, 4 Mar 2011, Tejun Heo wrote:

> Undetermined entries in emu_nid_to_phys[] are filled with zero
> assuming that physical node 0 is always online; however, this might
> not be true depending on hardware configuration. Find a physical node
> which is actually online and use it instead.
>

I still don't understand why emu_nid_to_phys[] can't return NUMA_NO_NODE
and this needs to be done at all. An emulated node should be mapped to a
physical node based on the address ranges of that emulated node, so it's
impossible for that to not map directly to a physical online node. We
don't support memoryless emulated nodes for hotpluggable SRAT entries.
--
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/