Re: [SLAB] __builtin_return_address use without FRAME_POINTER causesboot failure

From: Manfred Spraul
Date: Mon Aug 08 2005 - 16:38:53 EST


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.

--
Manfred
-
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/