On Mon, 2005-10-17 at 12:26 -0700, Ravikiran G Thirumalai wrote:
> This memory only node has a node id? Then how about a patch which iterates over
> nodes in swiotlb.c, trying to allocate DMA'ble memory from node 0 and above
> until it gets proper memory for swiotlb?
>
> Would that be accepatble? I can quickly make a patch for that if it is
> acceptable..
Yes, the memory-only node is just another node. Iterating over all
nodes sounds a little brute force, but I guess it should work. FWIW,
here's the results of the previous one-liner on an HP Superdome (booting
w/ machvec=dig to use the swiotlb instead of hardware iotlb):
2.6.14-rc4-mm1, before patch:
Placing software IO TLB between 0x4cdc000 - 0x8cdc000
after patch:
Placing software IO TLB between 0x74104e6b200 - 0x74108e6b200
Thanks,
Alex
--
-
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]