Re: [question] how to increase the number of object on cache?

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

 



On 08/02/2012 04:20 PM, Shawn Joo wrote:
> Dear Experts,
> 
>  
> 
> I would like to know a mechanism, how to increase the number of object
> and where the memory is from.
> 
> (because when cache is created by "kmem_cache_create", there is only
> object size, but no number of the object)
> 
> For example, “size-65536” does not have available memory from below dump.
> 
> In that state, if memory allocation is requested to “size-65536”,
> 
> 1.     How to allocate/increase the number of object on “size-65536”?
> 
> 2.     Where is the new allocated memory from? (from buddy?)
> 
>  

I am not sure I fully understand your question. But if you refer to
something like "from where does the object allocators get their memory
when more is needed", then yes, they will allocate the necessary number
of pages from the standard page allocator.

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


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]