Re: [SLAB] __builtin_return_address use without FRAME_POINTER causes boot failure

From: Alexander Nyberg
Date: Mon Aug 08 2005 - 16:54:23 EST


On Mon, Aug 08, 2005 at 11:37:18PM +0200 Manfred Spraul 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.
>

My fault, I introduced a debugging patch (i think i cc'ed you on it)
which used __builtin_return_address([12]) to save traces of who the
caller of an object is.
-
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/