Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755412AbZAJOJ3 (ORCPT ); Sat, 10 Jan 2009 09:09:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752709AbZAJOJU (ORCPT ); Sat, 10 Jan 2009 09:09:20 -0500 Received: from zelda.netsplit.com ([87.194.19.211]:60879 "EHLO zelda.netsplit.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752592AbZAJOJU (ORCPT ); Sat, 10 Jan 2009 09:09:20 -0500 Subject: Re: [RESEND][RFC PATCH v2] waitfd From: Scott James Remnant To: Roland McGrath Cc: Ingo Molnar , Casey Dahlin , Linux Kernel , Randy Dunlap , Oleg Nesterov , Davide Libenzi , Peter Zijlstra In-Reply-To: <20090107205322.5F8C7FC3E0@magilla.sf.frob.com> References: <49639EB8.40204@redhat.com> <4963ABF0.6070400@redhat.com> <20090107123457.GB16268@elte.hu> <20090107205322.5F8C7FC3E0@magilla.sf.frob.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-i7n8mx6ekvPdzxOy31Dq" Date: Sat, 10 Jan 2009 14:09:25 +0000 Message-Id: <1231596565.11642.24.camel@quest> Mime-Version: 1.0 X-Mailer: Evolution 2.24.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1299 Lines: 43 --=-i7n8mx6ekvPdzxOy31Dq Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2009-01-07 at 12:53 -0800, Roland McGrath wrote: > New syscall should have gone to linux-api, I think. >=20 > Do we really need another one for this? How about using signalfd plus > setting the child's exit_signal to a queuing (SIGRTMIN+n) signal instead = of > SIGCHLD? It's slightly more magical for the userland process to know to = do > that (fork -> clone SIGRTMIN). But compared to adding a syscall we don't > really have to add, maybe better. >=20 Doesn't that also change the wait() options you need as well? Scott --=20 Scott James Remnant scott@canonical.com --=-i7n8mx6ekvPdzxOy31Dq Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAklorBUACgkQSnQiFMl4yK7t5ACfWiDhhgZZSFALlQL3f0/MfTa7 Us0AnjpUb4Um86frtgoPeZW4X510VX4Y =L3v+ -----END PGP SIGNATURE----- --=-i7n8mx6ekvPdzxOy31Dq-- -- 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/