Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754036AbZAJQVi (ORCPT ); Sat, 10 Jan 2009 11:21:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751721AbZAJQVa (ORCPT ); Sat, 10 Jan 2009 11:21:30 -0500 Received: from mx2.redhat.com ([66.187.237.31]:47151 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751534AbZAJQVa (ORCPT ); Sat, 10 Jan 2009 11:21:30 -0500 Date: Sat, 10 Jan 2009 17:19:11 +0100 From: Oleg Nesterov To: Scott James Remnant Cc: Casey Dahlin , Roland McGrath , Ulrich Drepper , Ingo Molnar , Linux Kernel , Randy Dunlap , Davide Libenzi , Peter Zijlstra Subject: Re: [RESEND][RFC PATCH v2] waitfd Message-ID: <20090110161911.GB10954@redhat.com> References: <49639EB8.40204@redhat.com> <4963ABF0.6070400@redhat.com> <20090107123457.GB16268@elte.hu> <20090107205322.5F8C7FC3E0@magilla.sf.frob.com> <20090108143220.GA8717@redhat.com> <20090108193530.99D74FC3DD@magilla.sf.frob.com> <496663B6.3090709@redhat.com> <20090108213901.GA26729@redhat.com> <1231599141.11642.58.camel@quest> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1231599141.11642.58.camel@quest> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 869 Lines: 26 On 01/10, Scott James Remnant wrote: > > On Thu, 2009-01-08 at 22:39 +0100, Oleg Nesterov wrote: > > > Btw. It is not that I am trying to argue against sys_waitfd(), but do > > you have the "real life" example when it can be useful? Yes, poll(). > > But we have signalfd. SIGCHLD is not rt signal, but afaics this is not > > the problem actually. Just curious. > > > signalfd() can't currently be made to work in the way you describe. Hmm. Could you clarify? I am not sure we are talking about the same thing, but afaics poll() + signalfd can work to (say) reap the childs. Actually, ppoll() alone is enough. No? Oleg. -- 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/