Re: [PATCH 1/2] slob: move kstrdup to lib/string.c

From: Andrew Morton
Date: Wed Nov 02 2005 - 02:40:54 EST


Matt Mackall <mpm@xxxxxxxxxxx> wrote:
>
> On Wed, Nov 02, 2005 at 05:00:53PM +1100, Andrew Morton wrote:
> > Matt Mackall <mpm@xxxxxxxxxxx> wrote:
> > >
> > > This move kstrdup to lib/string.c
> >
> > The placement in slab.c was deliberate. Putting it in lib/string.c breaks
> > ppc32.
> >
> > ppc32 is reusing lib/string.c to build early userspace or something
> > like that, and calling kmalloc from there broke stuff.
>
> That doesn't sound kosher, have a pointer?
>

http://lkml.org/lkml/2005/4/8/128
-
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/