[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 3 Mar 2008 02:30:19 -0800
From: "Yinghai Lu" <yhlu.kernel@...il.com>
To: "Ingo Molnar" <mingo@...e.hu>
Cc: "Greg KH" <gregkh@...e.de>, "Muli Ben-Yehuda" <muli@...ibm.com>,
"Zhao Yakui" <yakui.zhao@...el.com>, lenb@...nel.org,
linux-acpi@...r.kernel.org,
"Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] ACPI: Unneccessary to scan the PCI bus already scanned.
On Mon, Mar 3, 2008 at 2:11 AM, Ingo Molnar <mingo@...e.hu> wrote:
>
> i also had to hand-merge the x86.git#testing patch below - could you
> double-check that it's needed in this form?
>
> Ingo
>
> ----------->
> Subject: x86/acpi: make dev_to_node return online node
> From: Yinghai Lu <Yinghai.Lu@....COM>
> Date: Wed, 20 Feb 2008 12:41:52 -0800
>
> some numa system (with multi HT chains) may return node without ram. aka it
> is not online. Try to get an online node, otherwise return -1
>
> Signed-off-by: Yinghai Lu <yinghai.lu@....com>
> Signed-off-by: Ingo Molnar <mingo@...e.hu>
> ---
> arch/x86/pci/acpi.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> Index: linux-x86.q/arch/x86/pci/acpi.c
> ===================================================================
> --- linux-x86.q.orig/arch/x86/pci/acpi.c
> +++ linux-x86.q/arch/x86/pci/acpi.c
> @@ -213,6 +213,9 @@ struct pci_bus * __devinit pci_acpi_scan
> set_mp_bus_to_node(busnum, node);
> else
> node = get_mp_bus_to_node(busnum);
> +
> + if (node != -1 && !node_online(node))
> + node = -1;
> #endif
still needed...
YH
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists