From: ebiederm@xmission.com (Eric W. Biederman)
To: Ingo Molnar <mingo@elte.hu>, Thomas Gleixner <tglx@linutronix.de>
Cc: Linux Containers <containers@lists.osdl.org>,
<linux-kernel@vger.kernel.org>
Subject: [PATCH] Mark timer_stats as incompatible with multiple pid namespaces
Date: Wed, 12 Dec 2007 16:10:56 -0700 [thread overview]
Message-ID: <m13au7tsov.fsf@ebiederm.dsl.xmission.com> (raw)
/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.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
---
lib/Kconfig.debug | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index cc42773..c8e81e6 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -146,7 +146,7 @@ config SCHEDSTATS
config TIMER_STATS
bool "Collect kernel timers statistics"
- depends on DEBUG_KERNEL && PROC_FS
+ depends on DEBUG_KERNEL && PROC_FS && !PID_NS
help
If you say Y here, additional code will be inserted into the
timer routines to collect statistics about kernel timers being
--
1.5.3.rc6.17.g1911
next reply other threads:[~2007-12-12 23:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-12 23:10 Eric W. Biederman [this message]
2007-12-13 9:01 ` [PATCH] Mark timer_stats as incompatible with multiple pid namespaces Ingo Molnar
2007-12-13 11:55 ` Eric W. Biederman
2007-12-13 13:04 ` Ingo Molnar
2007-12-13 17:14 ` Eric W. Biederman
2007-12-13 20:26 ` Ingo Molnar
2007-12-13 21:29 ` Eric W. Biederman
2007-12-13 21:37 ` Ingo Molnar
2007-12-13 21:48 ` Eric W. Biederman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m13au7tsov.fsf@ebiederm.dsl.xmission.com \
--to=ebiederm@xmission.com \
--cc=containers@lists.osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox