Re: x86_64: 2.6.14-rc4 swiotlb broken
From: Linus Torvalds
Date: Mon Oct 17 2005 - 10:29:37 EST
On Mon, 17 Oct 2005, Andi Kleen wrote:
>
> The patch is actually not quite correct - in theory node 0 could be too small
> to contain the full swiotlb bounce buffers.
Is node 0 guaranteed to be all low-memory? What if it allocates stuff at
the end of memory on NODE(0)?
Anyway, it sounds like "alloc_bootmem_low_pages()" is seriously buggered
if it allocates non-low pages, if only because of its name...
> The real fix would be to get rid of the pgdata lists and just walk the
> node_online_map on bootmem.c. The memory hotplug guys have
> a patch pending for this.
Argh. Which one should I pick? The NODE(0) one looks simpler, but is it
sufficient for now in practice (with the real one going into 2.6.14+)?
Linus
-
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/