[Top] [All Lists]

Re: sparsemem support for mips with highmem

To: Michael Sundius <>
Subject: Re: sparsemem support for mips with highmem
From: Christoph Lameter <>
Date: Wed, 21 Jan 2009 09:39:50 -0500 (EST)
Cc: Dave Hansen <>, Randy Dunlap <>, "Sundius, Michael" <>, Thomas Bogendoerfer <>,,,, Andy Whitcroft <>,
In-reply-to: <>
Original-recipient: rfc822;
References: <> <1218753308.23641.56.camel@nimitz> <> <> <1218815299.23641.80.camel@nimitz> <> <> <> <1218821875.23641.103.camel@nimitz> <> <> <> <1219094865.23641.118.camel@nimitz> <> <>
User-agent: Alpine 1.10 (DEB 962 2008-03-14)
On Fri, 16 Jan 2009, Michael Sundius wrote:

> you said that the simplest configuration is to use vmalloc for the populate
> function.
> could you expand on that? (i didn't see that the populate function used
> vmalloc or maybe
> we are talking about a different populate function).

If you place the vmemmap in the vmalloc area then its easy to reserve
virtual space for the vmemmap. You can use the vmalloc populate functions
to populate the vmemmap.

> this work w/ mips which i understand uses only 2 levels can I just take out
> the part of
> the function that sets up the middle level table?

Sure. Hoever, the vmemmap populate stuff will do that automagically for

<Prev in Thread] Current Thread [Next in Thread>