>> then yes, they will allocate the necessary number of pages from the standard page allocator. Who is "the standard page allocator" for cache in /proc/slabinfo, e.g. "size-65536" ? I believe one of allocator is buddy. who else? Thanks, Seongho(Shawn) -----Original Message----- From: Glauber Costa [mailto:glommer@xxxxxxxxxxxxx] Sent: Thursday, August 02, 2012 9:51 PM To: Shawn Joo Cc: cl@xxxxxxxxxxxxxxxxxxxx; penberg@xxxxxxxxxx; mpm@xxxxxxxxxxx; linux-mm@xxxxxxxxx Subject: Re: [question] how to increase the number of object on cache? 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. ----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ----------------------------------------------------------------------------------- -- 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