Commit-ID:  8c778d541bec8a41cbd8fa73b7cba90b2d6606c1
Gitweb:     http://git.kernel.org/tip/8c778d541bec8a41cbd8fa73b7cba90b2d6606c1
Author:     Ingo Molnar <[email protected]>
AuthorDate: Wed, 5 Feb 2014 06:51:37 +0100
Committer:  Ingo Molnar <[email protected]>
CommitDate: Sun, 9 Feb 2014 15:18:42 +0100

x86/debug: Disable CONFIG_X86_DECODER_SELFTEST in allmod/allyesconfigs

* Linus Torvalds <[email protected]> wrote:

Andi Kleen suggested to turn off CONFIG_X86_DECODER_SELFTEST=y
in allyesconfig, because it costs a lot of CPU time.

(In practice randconfig builds will cover this test frequently
 enough to provide build coverage.)

Suggested-by: Andi Kleen <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Acked-by: Paul Gortmaker <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Richard Weinberger <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Linus Torvalds <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
---
 arch/x86/Kconfig.debug | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug
index 321a52c..b542ec1 100644
--- a/arch/x86/Kconfig.debug
+++ b/arch/x86/Kconfig.debug
@@ -185,6 +185,11 @@ config X86_DECODER_SELFTEST
        bool "x86 instruction decoder selftest"
        depends on DEBUG_KERNEL && KPROBES
        depends on !COMPILE_TEST
+       #
+       # It can take some time to validate the image,
+       # make sure {allyes|allmod}config doesn't enable it:
+       #
+       depends on !COMPILE_TEST
        ---help---
         Perform x86 instruction decoder selftests at build time.
         This option is useful for checking the sanity of x86 instruction
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to