mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: Roland McGrath <roland@redhat.com>
Cc: Linus Torvalds <torvalds@osdl.org>, Andi Kleen <ak@suse.de>,
	Andrew Morton <akpm@osdl.org>,
	Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] x86_64: handle iret faults better
Date: Fri, 29 Apr 2005 17:02:48 +0200	[thread overview]
Message-ID: <20050429150248.GK21080@wotan.suse.de> (raw)
In-Reply-To: <200504290345.j3T3jZZr032230@magilla.sf.frob.com>

> This patch makes faults in iret produce the normal signals that would
> result from the same errors when executing some user-mode instruction.
> To accomplish this, I've extended the exception_table mechanism to support
> "special fixups".  Instead of a PC location to jump to, these have a
> function called in the trap handler context and passed the full trap details.

As written earlier I dont like this patch because it is far too complicated.
I would just fake a simple signal in the error handler, all the other
complicated infrastructure seems unnecessary.


Linus, Andrew, please dont apply this patch.

-Andi

      reply	other threads:[~2005-04-29 15:06 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-24  0:50 Roland McGrath
2005-04-25 15:33 ` Andi Kleen
2005-04-25 15:55   ` Linus Torvalds
2005-04-25 22:31     ` Roland McGrath
2005-04-25 22:51       ` Linus Torvalds
2005-04-26  1:57         ` Roland McGrath
2005-04-26  4:06           ` Linus Torvalds
2005-04-29  3:40             ` [PATCH] i386: " Roland McGrath
2005-04-29 15:01               ` Andi Kleen
2005-04-29 16:44               ` Linus Torvalds
2005-05-02 19:56                 ` Andi Kleen
2005-04-29  3:45             ` [PATCH] x86_64: " Roland McGrath
2005-04-29 15:02               ` Andi Kleen [this message]

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=20050429150248.GK21080@wotan.suse.de \
    --to=ak@suse.de \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=roland@redhat.com \
    --cc=torvalds@osdl.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

all inboxes | Powered by JetHome®