Allocating more than 890MB in the kernel?

Timur Tabi (ttabi@interactivesi.com)
Fri, 19 Oct 2001 13:48:38 -0500


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!

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