On Wed, Jan 17, 2001 at 01:54:20PM -0600, Rick Richardson wrote:
> 
> [please cc me on any responses]
> 
> Environment: 2.4.0 released, Pentium III with 256MB's of RAM.
> Problem:  kmalloc() of 4M causes kernel message "kernel BUG at slab.c:1542"
> 

The most you can kmalloc() is 128KB unless this has changed in the 2.4
kernel which I doubt.  If you want a region of memory that large, use
vmalloc().  Of course, this doesn't guarantee a contiguous region.


BAPper
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to