Re: [SLAB] __builtin_return_address use without FRAME_POINTERcauses boot failure

From: Andrew Morton
Date: Mon Aug 08 2005 - 16:53:26 EST


Manfred Spraul <manfred@xxxxxxxxxxxxxxxx> wrote:
>
> Christoph Lameter wrote:
>
> >I kept getting boot failures in the slab allocator. The failure goes
> >away if one is setting CONFIG_FRAME_POINTER. Seems that
> >CONFIG_DEBUG_SLAB implies the use of __buildin_return_address() which
> >needs the framepointer.
> >
> >
> >
> Very odd. __builtin_return_address(1) needs frame pointers, but slab
> only uses __builtin_return_addresse(0), which should always work.

I assume this is due to the now-dropped
slab-leak-detector-give-longer-traces.patch
-
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/