Skip to contentSkip to conversation

OPTPROBES: Don't default to y in Kconfig

PATCH In review Dieter Ries 3 participants 4 messages Mar 8, 2010 – Mar 11, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 OPTPROBES: Don't default to y in Kconfig

CONFIG_OPTPROBES should not default to y while still being flagged EXPERIMENTAL.

---
 arch/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/Kconfig +1 -1
index e5eb133..57710f7 100644
@@ -43,7 +43,7 @@ config KPROBES
 
 config OPTPROBES
 	bool "Kprobes jump optimization support (EXPERIMENTAL)"
-	default y
+	default n
 	depends on KPROBES
 	depends on !PREEMPT
 	depends on HAVE_OPTPROBES
Signature · 1 line
1.7.0.rc0.76.g43960
Acked-by on v1 1/1
#1 lore raw
Quoted 2 lines · Dieter Ries

CONFIG_OPTPROBES should not default to y while still being flagged EXPERIMENTAL.

Hm, OK, indeed it still needs some more user tests.

Quoted 19 lines
---
 arch/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/Kconfig +1 -1
index e5eb133..57710f7 100644
@@ -43,7 +43,7 @@ config KPROBES
 
 config OPTPROBES
 	bool "Kprobes jump optimization support (EXPERIMENTAL)"
-	default y
+	default n
 	depends on KPROBES
 	depends on !PREEMPT
 	depends on HAVE_OPTPROBES
Signature · 2 lines
Masami Hiramatsu
e-mail: [email protected]
#2 lore raw
Quoted 7 lines · Masami Hiramatsu
Quoted 2 lines · Dieter Ries

CONFIG_OPTPROBES should not default to y while still being flagged EXPERIMENTAL.

Hm, OK, indeed it still needs some more user tests.

Well, since this is a prime time optimization i'd rather see the Kconfig value eliminated and the optimization to become unconditional. (if it doesnt work somewhere then it should be fixed)

Ingo

#3 lore raw
Quoted 7 lines · Ingo Molnar
Quoted 4 lines · Masami Hiramatsu
Quoted 2 lines · Dieter Ries

CONFIG_OPTPROBES should not default to y while still being flagged EXPERIMENTAL.

Quoted 7 lines
Quoted 3 lines

Hm, OK, indeed it still needs some more user tests.

Well, since this is a prime time optimization i'd rather see the Kconfig value eliminated and the optimization to become unconditional. (if it doesnt work somewhere then it should be fixed)

OK, that will be good for finding bugs. :)

Thank you,

Signature · 2 lines
Masami Hiramatsu
e-mail: [email protected]