Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759507Ab1FWOiK (ORCPT ); Thu, 23 Jun 2011 10:38:10 -0400 Received: from adelie.canonical.com ([91.189.90.139]:47758 "EHLO adelie.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759229Ab1FWOiH (ORCPT ); Thu, 23 Jun 2011 10:38:07 -0400 Date: Thu, 23 Jun 2011 09:37:53 -0500 From: Serge Hallyn To: Greg Kurz Cc: "Eric W. Biederman" , Cedric Le Goater , linux-kernel@vger.kernel.org, oleg@redhat.com, containers@lists.osdl.org, akpm@linux-foundation.org, xemul@openvz.org, Bryan Donlan Subject: Re: [PATCH] Introduce ActivePid: in /proc/self/status (v2, was Vpid:) Message-ID: <20110623143753.GA26914@mail.hallyn.com> References: <20110615145527.4016.70157.stgit@bahia.local> <1308570316.8230.140.camel@bahia.local> <1308756565.2959.65.camel@bahia.local> <1308836585.2959.89.camel@bahia.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1308836585.2959.89.camel@bahia.local> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1327 Lines: 33 Quoting Greg Kurz (gkurz@fr.ibm.com): > 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. I think it's perfectly understandable for management / monitoring software on the host to want to correlate pids on the host and in the container. And not reasonable that there is no way to do that. This patch makes sense. I've carelessly deleted patch v3 from my inbox, but Greg please add my Acked-by: Serge Hallyn to v3 (https://lkml.org/lkml/2011/6/22/283) thanks, -serge -- 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/