public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: David Mosberger <davidm@napali.hpl.hp.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [patch] 2.4.25 sync unwind code with 2.6.3
Date: Mon, 23 Feb 2004 20:12:59 +0000	[thread overview]
Message-ID: <16442.24267.353386.287861@napali.hpl.hp.com> (raw)
In-Reply-To: <3792.1077504388@kao2.melbourne.sgi.com>


  Keith> I am not happy with the kludge that avoids the deadlock on
  Keith> script-> lock, anybody got a better solution?  The kludge
  Keith> assumes script-> that the first field in an ia64 rwsem is a
  Keith> spinlock.  I have hit this unwind deadlock a couple of times
  Keith> during processing of asynchronous MCA events, so I want it
  Keith> fixed.

What I did for libunwind is to avoid deadlock by falling back to
uncached unwinding if necessary.  That is, if a lock is taken, it just
creates an unwind script on the local stack.

It would be good to replace the built-in kernel unwinder with
something based on libunwind.  That would make it much easier to keep
the code in sync (and libunwind is much better tested).  I have been
toying with the idea of doing this for 2.7, but it hasn't been very
high priority to me because, for the most part, the kernel unwinder is
good enough.

	--david

  reply	other threads:[~2004-02-23 20:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-23  2:46 [patch] 2.4.25 sync unwind code with 2.6.3 Keith Owens
2004-02-23 20:12 ` David Mosberger [this message]
2004-03-03 23:53 ` Bjorn Helgaas
2004-03-04  0:09 ` David Mosberger
2004-03-04  0:22 ` Keith Owens
2004-03-04  0:40 ` Bjorn Helgaas
2004-03-04  0:43 ` David Mosberger

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=16442.24267.353386.287861@napali.hpl.hp.com \
    --to=davidm@napali.hpl.hp.com \
    --cc=linux-ia64@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