lkml.org 
[lkml]   [2005]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [SLAB] __builtin_return_address use without FRAME_POINTER causes boot failure
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-08-08 23:56    [W:0.043 / U:0.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site