lkml.org 
[lkml]   [2009]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/3] Makefile: Include arch Makefiles as late as possible
From
Date
On Sat, 2009-02-14 at 23:03 +0100, Ingo Molnar wrote:
>
> So the question is: even with FRAME_POINTERS disabled on PPC, is
> __builtin_return_address(1)/(2) reliable, and is save_stack_trace() fast? (i.e.
> can it walk down the stack frame efficiently, or does it have to scan the full
> kernel stack) I.e. does PPC have all the material advantages of frame pointers?

Yes, we do. We effectively have frame pointers in fact, they may only be
omitted in leaf functions but then gcc __builtin_return_address() knows
how to handle that afaik.

Cheers,
Ben.



\
 
 \ /
  Last update: 2009-02-15 01:23    [from the cache]
©2003-2011 Jasper Spaans