Re: [RFC] SL[AUO]B common code 7/9] slabs: Move kmem_cache_create mutex handling to common code

Glauber Costa
2012-05-16T10:17:50Z

On 05/15/2012 12:15 AM, Christoph Lameter wrote:
> Move the mutex handling into the common kmem_cache_create()
> function.
>
> Then we can also move more checks out of SLAB's kmem_cache_create()
> into the common code.
>
> Signed-off-by: Christoph Lameter<cl@linux.com>
>
> ---
> mm/slab.c | 52 +---------------------------------------------------
> mm/slab_common.c | 41 ++++++++++++++++++++++++++++++++++++++++-
> mm/slub.c | 30 ++++++++++++++----------------
> 3 files changed, 55 insertions(+), 68 deletions(-)

I see you are moving a lot of the other tests I mentioned in your other
e-mail here

Reviewed-by: Glauber Costa <glommer@parallels.com>