Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759421Ab1FWNnk (ORCPT ); Thu, 23 Jun 2011 09:43:40 -0400 Received: from mtagate1.uk.ibm.com ([194.196.100.161]:42599 "EHLO mtagate1.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759358Ab1FWNni (ORCPT ); Thu, 23 Jun 2011 09:43:38 -0400 Subject: Re: [PATCH] Introduce ActivePid: in /proc/self/status (v2, was Vpid:) From: Greg Kurz To: "Eric W. Biederman" Cc: Bryan Donlan , akpm@linux-foundation.org, containers@lists.osdl.org, linux-kernel@vger.kernel.org, serge@hallyn.com, daniel.lezcano@free.fr, oleg@redhat.com, xemul@openvz.org, Cedric Le Goater In-Reply-To: References: <20110615145527.4016.70157.stgit@bahia.local> <1308570316.8230.140.camel@bahia.local> <1308756565.2959.65.camel@bahia.local> Content-Type: text/plain; charset="UTF-8" Date: Thu, 23 Jun 2011 15:43:05 +0200 Message-ID: <1308836585.2959.89.camel@bahia.local> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 (2.32.2-1.fc14) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1157 Lines: 28 On Wed, 2011-06-22 at 17:39 -0700, Eric W. Biederman wrote: > I was suggesting implement rt_sigqueueinfo_fd as a proc file instead. > > Getting a file descriptor api one way or another for delivering signals > sounds nice in principle. I don't know if it is useful enough to > justify the cost of implementing and supporting it. > That's my concern: it will take some time to work it out and push it. In comparison, ActivePid: has no support overhead and is enough for userland code to relate pids betwen parent and child namespaces. Mitigating the race with pids is cool but it is another topic IMHO. Thanks. -- Gregory Kurz gkurz@fr.ibm.com Software Engineer @ IBM/Meiosys http://www.ibm.com Tel +33 (0)534 638 479 Fax +33 (0)561 400 420 "Anarchy is about taking complete responsibility for yourself." Alan Moore. -- 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/