From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754438AbYIYSPm (ORCPT ); Thu, 25 Sep 2008 14:15:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752906AbYIYSPT (ORCPT ); Thu, 25 Sep 2008 14:15:19 -0400 Received: from terminus.zytor.com ([198.137.202.10]:40904 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752533AbYIYSPS (ORCPT ); Thu, 25 Sep 2008 14:15:18 -0400 Message-ID: <48DBD519.6030204@zytor.com> Date: Thu, 25 Sep 2008 11:14:49 -0700 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: Hiroshi Shimamoto CC: Ingo Molnar , Thomas Gleixner , linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH v2 -tip 0/4] x86: signal handler improvement References: <48DBD396.5020103@ct.jp.nec.com> In-Reply-To: <48DBD396.5020103@ct.jp.nec.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hiroshi Shimamoto wrote: > > and errors in __put_user is stored to stack. > At the end of function, all errors in stack are calculated. If access to user > space is failed, %edx is set to -EFAULT in exception handler and stored to > stack for later operation. > It seems inefficient. > This is a gcc failure, and should be reported to the gcc people. -hpa