public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Allocating more than 890MB in the kernel?
@ 2001-10-19 18:48 Timur Tabi
  2001-10-19 19:04 ` John Tyner
  0 siblings, 1 reply; 10+ messages in thread
From: Timur Tabi @ 2001-10-19 18:48 UTC (permalink / raw)
  To: Linux Kernel Mailing List, Kernel Newbies Mailing List

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!


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2001-10-26 16:13 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-19 18:48 Allocating more than 890MB in the kernel? Timur Tabi
2001-10-19 19:04 ` John Tyner
2001-10-19 19:41   ` Timur Tabi
2001-10-19 19:59     ` H. Peter Anvin
2001-10-19 20:21       ` Timur Tabi
2001-10-19 20:32         ` H. Peter Anvin
2001-10-20  4:40         ` Rob Landley
2001-10-20 18:09           ` H. Peter Anvin
2001-10-25  4:04         ` Albert D. Cahalan
2001-10-26 16:13           ` Timur Tabi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox