Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755927AbYGJWxG (ORCPT ); Thu, 10 Jul 2008 18:53:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754151AbYGJWwz (ORCPT ); Thu, 10 Jul 2008 18:52:55 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:51877 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753927AbYGJWwy (ORCPT ); Thu, 10 Jul 2008 18:52:54 -0400 Date: Thu, 10 Jul 2008 15:51:48 -0700 (PDT) From: Linus Torvalds To: Roland McGrath cc: Ingo Molnar , Thomas Gleixner , Andrew Morton , linux-kernel@vger.kernel.org Subject: Re: [PATCH] x86_64: fix delayed signals In-Reply-To: <20080710224256.AD038154218@magilla.localdomain> Message-ID: References: <20080710215039.2A143154218@magilla.localdomain> <20080710224256.AD038154218@magilla.localdomain> User-Agent: Alpine 1.10 (LFD 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 968 Lines: 24 On Thu, 10 Jul 2008, Roland McGrath wrote: > > > But if you really want that behaviour, then re-introducing the loop would > > likely be the better approach (or should be combined), since I think you > > effectively just re-introduced it (at a much bigger granularity). > > I don't think so. Firstly, TIF_SIGPENDING is not the only flag in > question. There are other reasons to re-enter do_notify_resume(). > If those are set during signal processing et al, they should take > effect before going back to user mode. You're ignoring the background question - we expressly _stopped_ doing this long ago. So the real issue was the ".. if you really .." part. Do we really? What's the actual downside here? Linus -- 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/