From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752783AbYKZHTJ (ORCPT ); Wed, 26 Nov 2008 02:19:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750981AbYKZHS4 (ORCPT ); Wed, 26 Nov 2008 02:18:56 -0500 Received: from mx2.mail.elte.hu ([157.181.151.9]:34069 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750696AbYKZHS4 (ORCPT ); Wed, 26 Nov 2008 02:18:56 -0500 Date: Wed, 26 Nov 2008 08:18:34 +0100 From: Ingo Molnar To: "Eric W. Biederman" Cc: Steven Rostedt , Dave Hansen , Andrew Morton , containers@lists.osdl.org, fweisbec@gmail.com, LKML , srostedt@redhat.com, Sukadev Bhattiprolu , "Serge E. Hallyn" Subject: Re: [PATCH 1/3] ftrace: add function tracing to single thread Message-ID: <20081126071834.GF26036@elte.hu> References: <20081125153104.ecdceed4.akpm@linux-foundation.org> <1227660839.12109.52.camel@nimitz> <20081126063201.GF9732@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Eric W. Biederman wrote: > Ingo Molnar writes: > > > i dont see the point of the complexity you are advocating. 99.9% of > > the users run a unique PID space. > > I'm not advocating complexity. I'm advocating using the same APIs as > the rest of the kernel, for doing the same functions. > > > Tracing is about keeping stuff simple. On containers we could also > > trace the namespace ID (is there an easy ID for the namespace, as an > > easy extension to the very nice PID concept that Unix introduced > > decades ago?) and be done with it. > > I don't really care about the pid namespace in this context. > > I am just asking that we compare a different field in the task > struct. > > I am asking that we don't accumulate new users of an old crufty bug > prone API, for no good reason. i dont disagree about the change, but i'm curious, what's bug-prone about current->pid? It certainly worked quite well for the first 15 years. Ingo