From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleg Nesterov Date: Wed, 09 Apr 2008 16:22:06 +0000 Subject: Re: [PATCH 2/4] set_restore_sigmask TIF_SIGPENDING Message-Id: <20080409162206.GA764@tv-sign.ru> List-Id: References: <20080329001230.D013726FA1D@magilla.localdomain> <20080329001341.7F93826FA1D@magilla.localdomain> <20080408113519.GA227@tv-sign.ru> <1207739787.27048.57.camel@shinybook.infradead.org> <20080409113939.GA99@tv-sign.ru> <1207757653.27048.77.camel@shinybook.infradead.org> In-Reply-To: <1207757653.27048.77.camel@shinybook.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: David Woodhouse Cc: Linus Torvalds , Roland McGrath , Andrew Morton , Martin Schwidefsky , linux-s390@vger.kernel.org, tony.luck@intel.com, linux-ia64@vger.kernel.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org On 04/09, David Woodhouse wrote: > > One of the supposed advantages of TIF_RESTORE_SIGMASK in the first > place, iirc, was that it allowed us to return a result code other than > -EINTR as _well_ as restoring the signal mask. Agreed, good point. ERESTART_ is not that flexible. Somehow I assumed we will never need something "special" here, this is not very clever. Thanks to all! Oleg.