Re: Allocating more than 890MB in the kernel?

John Tyner (jtyner@cs.ucr.edu)
Fri, 19 Oct 2001 12:04:41 -0700 (PDT)


Isn't this solved by just recompiling the kernel with HIGHMEM support?

John

On Fri, 19 Oct 2001, Timur Tabi wrote:

> vmalloc() fails after about 890MB because the kernel memory map is only for
> about 1GB. I know there are some hacks and work-arounds to get more than
> that, but instead of reinventing the wheel, I was hoping some kind soul would
> tell me how (a few hints would be nice!)
>
> The reason we use vmalloc() is because we need to apply memory pressure during
> the allocating: memory should be swapped out to make room for our allocation.
>
> We're trying to allocate up to 3GB on a 4GB machine. Thanks in advance!
>
> -
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive: http://mail.nl.linux.org/kernelnewbies/
> IRC Channel: irc.openprojects.net / #kernelnewbies
> Web Page: http://www.kernelnewbies.org/
>

-- 
John Tyner
jtyner@cs.ucr.edu

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