Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755515AbYGKSIl (ORCPT ); Fri, 11 Jul 2008 14:08:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753301AbYGKSId (ORCPT ); Fri, 11 Jul 2008 14:08:33 -0400 Received: from mx1.redhat.com ([66.187.233.31]:48650 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753415AbYGKSId (ORCPT ); Fri, 11 Jul 2008 14:08:33 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Roland McGrath To: Linus Torvalds X-Fcc: ~/Mail/linus Cc: Ingo Molnar , Thomas Gleixner , Andrew Morton , linux-kernel@vger.kernel.org, Elias Oltmanns , =?ISO-8859-15?Q?T=F6r=F6k_Edwin?= , Arjan van de Ven Subject: Re: [PATCH] x86_64: fix delayed signals In-Reply-To: Linus Torvalds's message of Friday, 11 July 2008 10:58:54 -0700 X-Fcc: ~/Mail/linus References: <20080710215039.2A143154218@magilla.localdomain> <20080711054605.GA17851@elte.hu> X-Windows: power tools for power losers. Message-Id: <20080711180757.37CC9154213@magilla.localdomain> Date: Fri, 11 Jul 2008 11:07:57 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 477 Lines: 15 > + /* Only check signals if we have filled at least one entry! */ > + if (signal_pending(current)) > + return -EINTR; Shouldn't it return the short count? (And if not, then probably should be -ERESTARTSYS.) Thanks, Roland -- 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/