Re: [PATCH] remove empty node at boot time

From: Bjorn Helgaas <bjorn.helgaas_at_hp.com>
Date: 2006-07-10 12:38:40
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-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Jul 10 12:39:22 2006

This archive was generated by hypermail 2.1.8 : 2006-07-10 12:39:33 EST