From: Keith Owens <kaos@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: Converting ia64 kernel unwinder to lock free code
Date: Fri, 22 Oct 2004 04:25:55 +0000 [thread overview]
Message-ID: <5907.1098419155@kao2.melbourne.sgi.com> (raw)
MCA and INIT events are not irq safe, they can interrupt the kernel at
any point, including with spin_lock_irqsave() set. We currently call
the ia64 kernel unwinder from MCA and INIT handlers, which has the
potential to deadlock or to return invalid results. I want to convert
the kernel unwinder to be lock free, so it can be called from any
state. That means no locks, and no calls to kernel sevices that might
deadlock, including printk and kmalloc.
Before I start on this task, are there any other plans for the kernel
unwinder code? In the past davidm has hinted at replacing it with
libunwind.
next reply other threads:[~2004-10-22 4:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-22 4:25 Keith Owens [this message]
2004-10-22 7:30 ` Converting ia64 kernel unwinder to lock free code 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=5907.1098419155@kao2.melbourne.sgi.com \
--to=kaos@sgi.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