From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965678AbXCGVs0 (ORCPT ); Wed, 7 Mar 2007 16:48:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965683AbXCGVs0 (ORCPT ); Wed, 7 Mar 2007 16:48:26 -0500 Received: from smtp.osdl.org ([65.172.181.24]:60510 "EHLO smtp.osdl.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965678AbXCGVsZ (ORCPT ); Wed, 7 Mar 2007 16:48:25 -0500 Date: Wed, 7 Mar 2007 13:48:16 -0800 (PST) From: Linus Torvalds To: Davide Libenzi cc: Jeremy Fitzhardinge , Stephen Rothwell , Linux Kernel Mailing List , Andrew Morton Subject: Re: [patch 1/4] signalfd v1 - signalfd core ... In-Reply-To: Message-ID: References: <20070307155553.06c82ca1.sfr@canb.auug.org.au> <20070307233833.f1482f86.sfr@canb.auug.org.au> <45EF20F7.1050307@goop.org> <45EF2DFF.4060209@goop.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 7 Mar 2007, Davide Libenzi wrote: > > You have the *choice* to do that: > > 1) You want standard delivery only: > > - Just dont use signalfd > > 2) you want signalfd only: > > - Do a sigprocmask(SIG_BLOCK) of the same mask you pass to signalfd > > If you want both, you can have it. Race free. .. but maybe with more code and lots of confusion. I'm still unclear on any upsides here. Choice is good, but only if it's *useful* choice. Linus