Re: x86_64: 2.6.14-rc4 swiotlb broken

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 17 October 2005 17:27, Linus Torvalds wrote:
> 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)?

This is 64bit ... only low memory.

>
> Anyway, it sounds like "alloc_bootmem_low_pages()" is seriously buggered
> if it allocates non-low pages, if only because of its name...

The pages are all low, just at the wrong end of the memory.

> > 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

First this problem is definitely not critical. AFAIK it only happens on 
scalex's unreleased machines. Intel NUMA x86 machines are really rare
and on AMD it doesn't happen because the swiotlb is not used there.
So just ignoring it is a quite reasonable option.

Both NODE(0) and node_online_map are risky. NODE(0) may break IA64
(they share this code) and node_online_map may break one of the weirder
ARM platforms again (for which the original revert was done)

For 2.6.14 I think it's best to ignore it and use node_online_map for 2.6.15.

-Andi 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux