Messages in this thread | | | From | Andi Kleen <> | Subject | Re: [Patch] Move swiotlb_init early on X86_64 | Date | Fri, 3 Mar 2006 02:32:11 +0100 |
| |
On Friday 03 March 2006 00:35, Zou Nan hai wrote:
> This patch modify the bootmem allocator, > let normal bootmem allocation on 64 bit system first go above 4G > address.
That's very ugly and likely to break some architectures. Sorry but #ifdefs is the wrong way to do this.
Passing a limit parameter is better and use that in the swiotlb allocation. If you're worried about changing too many callers you could add a new entry point.
-Andi
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |