lkml.org 
[lkml]   [2001]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectAllocating more than 890MB in the kernel?
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/

\
 
 \ /
  Last update: 2005-03-22 13:08    [W:0.050 / U:1.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site