Messages in this thread | | | Date | Thu, 3 Jun 2010 21:52:00 +0200 | From | Frederic Weisbecker <> | Subject | Re: [PATCH 1/2] x86: make save_stack_address() !CONFIG_FRAME_POINTER friendly |
| |
On Thu, Jun 03, 2010 at 09:32:39PM +0200, Oleg Nesterov wrote: > If CONFIG_FRAME_POINTER=n, print_context_stack() shouldn't neglect the > non-reliable addresses on stack, this is all we have if dump_trace(bp) > is called with the wrong or zero bp. > > For example, /proc/pid/stack doesn't work if CONFIG_FRAME_POINTER=n. > > This patch obviously has no effect if CONFIG_FRAME_POINTER=y, otherwise > it reverts 1650743c "x86: don't save unreliable stack trace entries". > > Also, remove the unnecessary type-cast. > > Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
| |