From: Christoph Hellwig <hch@lst.de>
To: Paul Mackerras <paulus@samba.org>
Cc: Christoph Hellwig <hch@lst.de>,
akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] move die notifier handling to common code
Date: Mon, 26 Mar 2007 08:55:24 +0200 [thread overview]
Message-ID: <20070326065524.GA1163@lst.de> (raw)
In-Reply-To: <17927.8857.752570.69739@cargo.ozlabs.ibm.com>
On Mon, Mar 26, 2007 at 11:32:09AM +1000, Paul Mackerras wrote:
> Seems OK, although I think kprobes should not be using notify_die.
> The set of events that kprobes is interested in has no intersection at
> all with the set that any other consumer of the notify_die events is
> interested in, on any architecture.
>
> Furthermore, the multiplexing of the kprobes events through notify_die
> really serves no useful purpose. It just means that
> kprobe_exceptions_notify has to demultiplex the events with a switch
> statement. There is no significant common code for all events in
> kprobe_exceptions_notify, just a simple check whether the event
> happened in user mode.
>
> However, all that is in arch code so can be changed per-arch if
> desired.
I tend to agree. Unfortunately powers higher than me like these
horrible notifier schemes. Then again at least the die path is not
performance critical unlike the page faul path where I still need a
comment for you on getting rid of the notifier.
next prev parent reply other threads:[~2007-03-26 13:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-19 16:02 [PATCH] move die notifier handling to common code Christoph Hellwig
2007-03-26 1:32 ` Paul Mackerras
2007-03-26 6:55 ` Christoph Hellwig [this message]
2007-04-09 10:30 ` Paul Mackerras
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=20070326065524.GA1163@lst.de \
--to=hch@lst.de \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paulus@samba.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