From owner-svn-src-head@FreeBSD.ORG Sat Jul 21 13:29:20 2012 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D417C106566B; Sat, 21 Jul 2012 13:29:20 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail08.syd.optusnet.com.au (mail08.syd.optusnet.com.au [211.29.132.189]) by mx1.freebsd.org (Postfix) with ESMTP id 4F2B38FC0C; Sat, 21 Jul 2012 13:29:20 +0000 (UTC) Received: from c122-106-171-246.carlnfd1.nsw.optusnet.com.au (c122-106-171-246.carlnfd1.nsw.optusnet.com.au [122.106.171.246]) by mail08.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id q6LDTHTb002264 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 21 Jul 2012 23:29:18 +1000 Date: Sat, 21 Jul 2012 23:29:17 +1000 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Konstantin Belousov In-Reply-To: <201207211305.q6LD5YiC035936@svn.freebsd.org> Message-ID: <20120721232459.J2515@besplex.bde.org> References: <201207211305.q6LD5YiC035936@svn.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r238668 - head/sys/amd64/amd64 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jul 2012 13:29:20 -0000 On Sat, 21 Jul 2012, Konstantin Belousov wrote: > Log: > Stop clearing x87 exceptions in the #MF handler on amd64. If user code > understands FPU hardware enough to catch SIGFPE and unmask exceptions > in control word, then it may as well properly handle return from > SIGFPE without causing an infinite loop of #MF exceptions due to > faulting instruction restart, when needed. > > Clearing exceptions causes information loss for handlers which do > understand FPU hardware, and struct siginfo si_code member cannot be > considered adequate replacement for en_sw content due to translation. > > Supposed reason for clearing the exceptions, which is IRQ13 handling > oddities, were never applicable to amd64. > > Note: this change will be merged to i386 kernel as well, since we do > not support IRQ13 delivery of #MF notifications for some time. > > Requested by: bde > MFC after: 1 week Thanks. The comment formatting has lost its constent 2-space sentence breaks. Bruce