Re: [SLAB] __builtin_return_address use without FRAME_POINTER causesboot failure

From: Manfred Spraul
Date: Tue Aug 09 2005 - 12:05:51 EST


Alexander Nyberg wrote:

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.


Ups. I still have your original mail in my inbox.
The correct way is check the whole stack and store all pointers that are in kernel_text_address(). See store_stack_info() in mm/slab.c.

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