public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <ak@muc.de>
To: "Jan Beulich" <jbeulich@novell.com>
Cc: "Andi Kleen" <ak@suse.de>,
	"Chuck Ebbert" <76306.1226@compuserve.com>,
	"Jesper Juhl" <jesper.juhl@gmail.com>,
	"Andrew Morton" <akpm@osdl.org>, "Dave Jones" <davej@redhat.com>,
	"linux-kernel" <linux-kernel@vger.kernel.org>
Subject: Re: [patch] i386: fix one case of stuck dwarf2 unwinder II
Date: Tue, 15 Aug 2006 12:47:09 +0200	[thread overview]
Message-ID: <20060815124709.e62d9c57.ak@muc.de> (raw)
In-Reply-To: <44E1BF37.76E4.0078.0@novell.com>

On Tue, 15 Aug 2006 12:33:59 +0200
"Jan Beulich" <jbeulich@novell.com> wrote:

> >> So it would seem to me. Nevertheless, in my opinion the proper fix is
> to annotate the call site
> >> (in head.S) to specify a zero EIP as return address (which denotes
> the bottom of a frame).
> >
> >Can you please send a patch to do that?
> >
> >That seems to be missing in some other places too, e.g. i386 sysenter
> path, x86-64 kernel_thread,
> >more?
> 
> Attaching both an i386 version (boot/idle thread only, you did
> kernel_thread already)
> and an x86-64 one (boot/idle and kernel_thread). The i386 sysenter path
> is a different
> thing,

Ok added thanks.

Re One open question: Should this added push perhaps be made conditional
upon CONFIG_STACK_UNWIND or CONFIG_UNWIND_INFO?

I don't think that's needed because they are all slow paths.

 there we have an actual caller (though outside of the kernel),
> which I'd like to
> continue to reflect/catch through arch_unw_user_mode().

Ok, but does it work now? I thought it didn't.
I've also seen a stuck on the x86-64 sysenter path on x86-64.

-Andi 

  reply	other threads:[~2006-08-15 10:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-06 16:09 [patch] i386: fix one case of stuck dwarf2 unwinder II Chuck Ebbert
2006-08-07  8:00 ` Jan Beulich
2006-08-07  8:04   ` Andi Kleen
2006-08-15 10:33     ` Jan Beulich
2006-08-15 10:47       ` Andi Kleen [this message]
2006-08-15 10:54         ` Jan Beulich
  -- strict thread matches above, loose matches on Subject: below --
2006-08-06  7:11 Chuck Ebbert
2006-08-06 14:04 ` Andi Kleen
2006-08-06  5:00 [patch] i386: fix one case of stuck dwarf2 unwinder Chuck Ebbert
2006-08-06  6:05 ` [patch] i386: fix one case of stuck dwarf2 unwinder II Andi Kleen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060815124709.e62d9c57.ak@muc.de \
    --to=ak@muc.de \
    --cc=76306.1226@compuserve.com \
    --cc=ak@suse.de \
    --cc=akpm@osdl.org \
    --cc=davej@redhat.com \
    --cc=jbeulich@novell.com \
    --cc=jesper.juhl@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox