Skip to contentSkip to conversation

Huge vmalloc request? Need help...

DISCUSSION Rik van Riel 1 participant 1 message Feb 7, 2002 1 message not in the archive Memory management

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 5 lines · Yuri Petukhov

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

Signature · 9 lines
"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 [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/