Guardian Digital Inc. > InfoCenter > Mailing List Archives > Linux Kernel

Linux Kernel Mailing List Archive

From: Andi Kleen (ak@suse.de)
Date: Wed Dec 15 2004 - 02:17:34 EST

On Tue, Dec 14, 2004 at 11:14:46PM -0800, Martin J. Bligh wrote:
> Well hold on a sec. We don't need to use the hugepages pool for this,
> do we? This is the same as using huge page mappings for the whole of
> kernel space on ia32. As long as it's a kernel mapping, and 16MB aligned
> and contig, we get it for free, surely?

The whole point of the patch is to not use the direct mapping, but
use a different interleaved mapping on NUMA machines to spread
the memory out over multiple nodes.

> > Using other page sizes would be probably tricky because the
> > linux VM can currently barely deal with two page sizes.
> > I suspect handling more would need some VM infrastructure effort
> > at least in the changed port.
> For the general case I'd agree. But this is a setup-time only tweak
> of the static kernel mapping, isn't it?

It's probably not impossible, just lots of ugly special cases.
e.g. how about supporting it for /proc/kcore etc?


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/

[ About Guardian Digital ] - [ Press Center ] - [ Contact Us ] - [ System Activation ] - [ Reseller Info ] - [ Online Store ] - [ Site Map ]
Copyright (c) 2000 - 2004 Guardian Digital, Inc. Linux Lockbox and EnGarde are Trademarks of Guardian Digital, Inc.