[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Allocation of kernel memory >128K



>   I WANT TO KNOW WHAT AMOUNT OF MEMORY ALLOCATION
> WILL BE SAFE.i.e. even
> if i alloc 30K at a time,will I always get a
> contiguous memory for that
> purpose.??
> 	Is there a set limit in Linux for the amount of
> memory we obtain
> will always be contiguous or always available??

 No, there are no guarantees about availability of
contiguous memory. But if you do not specify
GFP_ATOMIC flag when calling kmalloc(), it will sleep
till the requested amount of memory is available.

Ravi.

__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.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/