From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758253AbXLMJC0 (ORCPT ); Thu, 13 Dec 2007 04:02:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751702AbXLMJCG (ORCPT ); Thu, 13 Dec 2007 04:02:06 -0500 Received: from mx2.mail.elte.hu ([157.181.151.9]:41144 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751687AbXLMJCE (ORCPT ); Thu, 13 Dec 2007 04:02:04 -0500 Date: Thu, 13 Dec 2007 10:01:02 +0100 From: Ingo Molnar To: "Eric W. Biederman" Cc: Thomas Gleixner , Linux Containers , linux-kernel@vger.kernel.org Subject: Re: [PATCH] Mark timer_stats as incompatible with multiple pid namespaces Message-ID: <20071213090102.GB1926@elte.hu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) 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.0004] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Eric W. Biederman wrote: > /proc/timer_stats currently reports the user of a timer by pid, which > is a reasonable approach. However if you are not in the initial pid > namespace the pid that is reported is nonsense. > > Therefore until we can make timer_stats pid namespace safe just > disable it in the build if pid namespace support is selected so we at > least know we have a conflict. What the heck??? Please solve this properly instead of hiding it. /proc/timer_stats is damn useful and it's a must-have for powertop to work. Ingo