2009-04-23 07:56:52

by Chris Wright

[permalink] [raw]
Subject: [patch 077/100] x86: disable X86_PTRACE_BTS for now

-stable review patch. If anyone has any objections, please let us know.
---------------------

From: Ingo Molnar <[email protected]>

upstream commit: d45b41ae8da0f54aec0eebcc6f893ba5f22a1e8e

Oleg Nesterov found a couple of races in the ptrace-bts code
and fixes are queued up for it but they did not get ready in time
for the merge window. We'll merge them in v2.6.31 - until then
mark the feature as CONFIG_BROKEN. There's no user-space yet
making use of this so it's not a big issue.

Cc: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
[chrisw: trivial 2.6.29 backport]
Signed-off-by: Chris Wright <[email protected]>
---
arch/x86/Kconfig.cpu | 1 +
1 file changed, 1 insertion(+)

--- a/arch/x86/Kconfig.cpu
+++ b/arch/x86/Kconfig.cpu
@@ -523,6 +523,7 @@ config X86_PTRACE_BTS
bool "Branch Trace Store"
default y
depends on X86_DEBUGCTLMSR
+ depends on BROKEN
help
This adds a ptrace interface to the hardware's branch trace store.