Re: [PATCH] remove empty node at boot time

From: Bjorn Helgaas
Date: Sun Jul 09 2006 - 22:37:13 EST


On Sunday 09 July 2006 18:34, KAMEZAWA Hiroyuki wrote:
> Then, your box has
> node 0 : cpu x 4, small memory
> node 1 : cpu x 4, small memory
> node 2 : big memory.

Yes.

> if above node 0 and node 1 disappears, it looks there are some bugs in
> cpu detection.

Yes. Here's the relevant part of the call tree:

setup_arch
acpi_numa_init
acpi_numa_arch_fixup
acpi_online_node_fixup (test available_cpus)
...
acpi_boot_init
acpi_table_parse_madt(..., acpi_parse_lsapic, ...)
acpi_parse_lsapic (increment available_cpus)

Note that we test available_cpus in acpi_online_node_fixup()
before we increment it in acpi_parse_lsapic(), so the inner
loop is never executed.
-
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/