diff options
author | Matt Mackall <mpm@selenic.com> | 2006-01-08 04:05:24 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-08 23:14:11 -0500 |
commit | 22c4e3084eb8b88288a622a57d8b35c450a439f2 (patch) | |
tree | 5d763dcb1f451aa2a89c779c5a68fb6882dadfb6 /init/Kconfig | |
parent | 18e92b12e83bef077a31ba6871f1aec3621b69e3 (diff) |
[PATCH] tiny: Make x86 doublefault handling optional
This adds configurable support for doublefault reporting on x86
add/remove: 0/3 grow/shrink: 0/1 up/down: 0/-13048 (-13048)
function old new delta
cpu_init 846 786 -60
doublefault_fn 188 - -188
doublefault_stack 4096 - -4096
doublefault_tss 8704 - -8704
Signed-off-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'init/Kconfig')
-rw-r--r-- | init/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index 0c9932f9f06b..0eb65f2ad8c9 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -309,6 +309,15 @@ config BUG | |||
309 | option for embedded systems with no facilities for reporting errors. | 309 | option for embedded systems with no facilities for reporting errors. |
310 | Just say Y. | 310 | Just say Y. |
311 | 311 | ||
312 | config DOUBLEFAULT | ||
313 | depends X86 | ||
314 | default y if X86 | ||
315 | bool "Enable doublefault exception handler" if EMBEDDED | ||
316 | help | ||
317 | This option allows trapping of rare doublefault exceptions that | ||
318 | would otherwise cause a system to silently reboot. Disabling this | ||
319 | option saves about 4k. | ||
320 | |||
312 | config BASE_FULL | 321 | config BASE_FULL |
313 | default y | 322 | default y |
314 | bool "Enable full-sized data structures for core" if EMBEDDED | 323 | bool "Enable full-sized data structures for core" if EMBEDDED |