Re: [PATCH 1/2] SLAB: Add function to get slab cache for a page

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

 



On Thu, Oct 07, 2010 at 08:34:56AM +0300, Pekka Enberg wrote:
> On 10/7/10 12:42 AM, Christoph Lameter wrote:
> >On Wed, 6 Oct 2010, Andi Kleen wrote:
> >
> >>+struct kmem_cache *kmem_page_cache(struct page *p);
> >
> >That sounds as if we do something with the page cache.
> >
> >kmem_cache_of_slab_page(struct page *)
> 
> kmem_page_to_cache(), for example.

I changed it now to the name Christoph suggested.
-Andi


-- 
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.

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



[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]