Re: [PATCH 1/14] uml: fix build when SLOB is enabled

From: WANG Cong
Date: Tue Aug 05 2008 - 05:06:56 EST


On Fri, Aug 01, 2008 at 06:41:25PM -0400, Jeff Dike wrote:
>From 94409ded7768e15b0d0a5a172d611073c72308de Mon Sep 17 00:00:00 2001
>
>Reintroduce uml_kmalloc for the benefit of UML libc code. The
>previous tactic of declaring __kmalloc so it could be called directly
>from the libc side of the house turned out to be getting too intimate
>with slab, and it doesn't work with slob.
>
>So, the uml_kmalloc wrapper is back. It calls kmalloc or whatever
>that translates into, and libc code calls it.
>
>kfree is left alone since that still works, leaving a somewhat
>inconsistent API.
>
>Signed-off-by: Jeff Dike <jdike@xxxxxxxxxxxxxxx>
>Cc: WANG Cong <xiyou.wangcong@xxxxxxxxx>
>Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
>Signed-off-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>

Looks good. Thanks. :)


--
The opposite of love is not hate, but indifference.
--Elie Wiesel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/