linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Re: Huge vmalloc request? Need help...
       [not found] <3C617066.3DF01E66@tsl.uu.se>
@ 2002-02-07  0:07 ` Rik van Riel
  0 siblings, 0 replies; only message in thread
From: Rik van Riel @ 2002-02-07  0:07 UTC (permalink / raw)
  To: linux-mm

On Wed, 6 Feb 2002, Yuri Petukhov wrote:

>  I tried to allocate (vmalloc) huge (512MB) memory block inside my
> init_module(), but without success. It is possible to get about
> 48MB only. I work on Pentium SMP, 1GB RAM, RedHat-6.2 with kernel
> 2.2.18. Is there some restrictions on vmalloc'ed size? I need
> non-swapped memory block, of course.

Don't do this, you don't need this space.

On a 1 GB machine, the system leaves only 128 MB of space
for both highmem bounce buffers and vmalloc.

Your solution would be to keep track of which pages you're
using yourself.

regards,

Rik
-- 
"Linux holds advantages over the single-vendor commercial OS"
    -- Microsoft's "Competing with Linux" document

http://www.surriel.com/		http://distro.conectiva.com/

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-02-07  0:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <3C617066.3DF01E66@tsl.uu.se>
2002-02-07  0:07 ` Huge vmalloc request? Need help Rik van Riel

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