[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080219102944.GA25663@elte.hu>
Date: Tue, 19 Feb 2008 11:29:44 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Yinghai Lu <Yinghai.Lu@....COM>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] x86_64: fix dma_alloc_pages
* Yinghai Lu <Yinghai.Lu@....COM> wrote:
> one system with two nodes and two ht links on every node. the bios
> already have _pxm for two links.
>
> when no ram installed for node1 will have panic.
>
> reason: the device on second chain will get node = 1 from
> dev_to_node...via pci_acpi_scan_root. but node1 doesn't have ram
> installed. in dma_alloc_pages it will pass check with
> first_node(node_online_map)... and will have problem with
> __alloc_pages in alloc_pages_node.
>
> this patch will check the if the node is online..., if not will get
> numa_node_id to get one node with ram.
thanks, applied.
Ingo
--
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