Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL

From: Martin Bligh
Date: Mon Apr 02 2007 - 18:55:13 EST


Christoph Lameter wrote:
On Mon, 2 Apr 2007, Martin Bligh wrote:

For 64GB you'd need 256M which would be a quarter of low mem. Probably takes
up too much of low mem.
Yup.

We could move whatever you currently use to handle that into i386 arch code. Or are there other platforms that do similar tricks with highmem?

We already have special hooks for node lookups in sparsemem. Move all of that off into some arch dir?

Well, all I did was basically an early vmalloc kind of thing.

You only need to allocate enough virtual space for how much memory
you actually *have*, not the full set. The problem on i386 is that
you just need to reserve that space early, in order to shuffle
everything else into fit. It's messy, but not hard.

M.


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