Thread (43 messages) 43 messages, 5 authors, 2012-03-15

Re: [PATCH v2 06/13] slab: Add kmem_cache_gfp_flags() helper function.

flat view

From: Suleiman Souhlal <hidden>
Date: 2012-03-14 22:14:28
Also in: linux-mm, lkml

On Wed, Mar 14, 2012 at 4:48 AM, Glauber Costa [off-list ref] wrote:
So what?
That function is only called from slab.c anyway. Let slab call it
mem_cgroup_get_kmem_cache(cachep, flags | cachep->allocflags);
and slub
mem_cgroup_get_kmem_cache(cachep, flags | cachep->gfpflags);
Ok, I will do that.
I felt like it was better to do it in a single place, instead of doing
it at all the callers.

-- Suleiman
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help