[RFC][PATCH] avoid creating empty nodes [0/2]

KAMEZAWA Hiroyuki
2006-03-29T02:09:03Z

When I tesetd new firmware , which supports NUMA cpu/memory hot-add
(with Windows), I found Linux/ia64 creates nodes with no cpus, no memory.

This is because of acpi_numa_fixup(). It onlines nodes when they find pxms.
Because SRAT can contain resources which doesn't exist at boot,
the kernel can create a node with a empty pxm which includes not-exisitng cpus
and not-exisitng memory.

Now, I think this is a bug. These patches will fix it.
These patches are against 2.6.16-mm1.

--Kame