Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262755AbVD2PGR (ORCPT ); Fri, 29 Apr 2005 11:06:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262774AbVD2PFc (ORCPT ); Fri, 29 Apr 2005 11:05:32 -0400 Received: from ns2.suse.de ([195.135.220.15]:227 "EHLO mx2.suse.de") by vger.kernel.org with ESMTP id S262755AbVD2PCu (ORCPT ); Fri, 29 Apr 2005 11:02:50 -0400 Date: Fri, 29 Apr 2005 17:02:48 +0200 From: Andi Kleen To: Roland McGrath Cc: Linus Torvalds , Andi Kleen , Andrew Morton , Kernel Mailing List Subject: Re: [PATCH] x86_64: handle iret faults better Message-ID: <20050429150248.GK21080@wotan.suse.de> References: <200504290345.j3T3jZZr032230@magilla.sf.frob.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200504290345.j3T3jZZr032230@magilla.sf.frob.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 865 Lines: 19 > 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/