lkml.org 
[lkml]   [2006]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] remove empty node at boot time
Date
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-07-10 04:41    [W:0.554 / U:1.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site