diff options
Diffstat (limited to 'arch/x86/Kconfig.debug')
-rw-r--r-- | arch/x86/Kconfig.debug | 49 |
1 files changed, 17 insertions, 32 deletions
diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug index 75085080b63e..c0f8a5c88910 100644 --- a/arch/x86/Kconfig.debug +++ b/arch/x86/Kconfig.debug | |||
@@ -31,7 +31,7 @@ config X86_VERBOSE_BOOTUP | |||
31 | see errors. Disable this if you want silent bootup. | 31 | see errors. Disable this if you want silent bootup. |
32 | 32 | ||
33 | config EARLY_PRINTK | 33 | config EARLY_PRINTK |
34 | bool "Early printk" if EMBEDDED | 34 | bool "Early printk" if EXPERT |
35 | default y | 35 | default y |
36 | ---help--- | 36 | ---help--- |
37 | Write kernel log output directly into the VGA buffer or to a serial | 37 | Write kernel log output directly into the VGA buffer or to a serial |
@@ -43,6 +43,10 @@ config EARLY_PRINTK | |||
43 | with klogd/syslogd or the X server. You should normally N here, | 43 | with klogd/syslogd or the X server. You should normally N here, |
44 | unless you want to debug such a crash. | 44 | unless you want to debug such a crash. |
45 | 45 | ||
46 | config EARLY_PRINTK_MRST | ||
47 | bool "Early printk for MRST platform support" | ||
48 | depends on EARLY_PRINTK && X86_MRST | ||
49 | |||
46 | config EARLY_PRINTK_DBGP | 50 | config EARLY_PRINTK_DBGP |
47 | bool "Early printk via EHCI debug port" | 51 | bool "Early printk via EHCI debug port" |
48 | depends on EARLY_PRINTK && PCI | 52 | depends on EARLY_PRINTK && PCI |
@@ -62,26 +66,6 @@ config DEBUG_STACKOVERFLOW | |||
62 | This option will cause messages to be printed if free stack space | 66 | This option will cause messages to be printed if free stack space |
63 | drops below a certain limit. | 67 | drops below a certain limit. |
64 | 68 | ||
65 | config DEBUG_STACK_USAGE | ||
66 | bool "Stack utilization instrumentation" | ||
67 | depends on DEBUG_KERNEL | ||
68 | ---help--- | ||
69 | Enables the display of the minimum amount of free stack which each | ||
70 | task has ever had available in the sysrq-T and sysrq-P debug output. | ||
71 | |||
72 | This option will slow down process creation somewhat. | ||
73 | |||
74 | config DEBUG_PER_CPU_MAPS | ||
75 | bool "Debug access to per_cpu maps" | ||
76 | depends on DEBUG_KERNEL | ||
77 | depends on SMP | ||
78 | ---help--- | ||
79 | Say Y to verify that the per_cpu map being accessed has | ||
80 | been setup. Adds a fair amount of code to kernel memory | ||
81 | and decreases performance. | ||
82 | |||
83 | Say N if unsure. | ||
84 | |||
85 | config X86_PTDUMP | 69 | config X86_PTDUMP |
86 | bool "Export kernel pagetable layout to userspace via debugfs" | 70 | bool "Export kernel pagetable layout to userspace via debugfs" |
87 | depends on DEBUG_KERNEL | 71 | depends on DEBUG_KERNEL |
@@ -113,6 +97,17 @@ config DEBUG_RODATA_TEST | |||
113 | feature as well as for the change_page_attr() infrastructure. | 97 | feature as well as for the change_page_attr() infrastructure. |
114 | If in doubt, say "N" | 98 | If in doubt, say "N" |
115 | 99 | ||
100 | config DEBUG_SET_MODULE_RONX | ||
101 | bool "Set loadable kernel module data as NX and text as RO" | ||
102 | depends on MODULES | ||
103 | ---help--- | ||
104 | This option helps catch unintended modifications to loadable | ||
105 | kernel module's text and read-only data. It also prevents execution | ||
106 | of module data. Such protection may interfere with run-time code | ||
107 | patching and dynamic kernel tracing - and they might also protect | ||
108 | against certain classes of kernel exploits. | ||
109 | If in doubt, say "N". | ||
110 | |||
116 | config DEBUG_NX_TEST | 111 | config DEBUG_NX_TEST |
117 | tristate "Testcase for the NX non-executable stack feature" | 112 | tristate "Testcase for the NX non-executable stack feature" |
118 | depends on DEBUG_KERNEL && m | 113 | depends on DEBUG_KERNEL && m |
@@ -121,19 +116,9 @@ config DEBUG_NX_TEST | |||
121 | and the software setup of this feature. | 116 | and the software setup of this feature. |
122 | If in doubt, say "N" | 117 | If in doubt, say "N" |
123 | 118 | ||
124 | config 4KSTACKS | ||
125 | bool "Use 4Kb for kernel stacks instead of 8Kb" | ||
126 | depends on X86_32 | ||
127 | ---help--- | ||
128 | If you say Y here the kernel will use a 4Kb stacksize for the | ||
129 | kernel stack attached to each process/thread. This facilitates | ||
130 | running more threads on a system and also reduces the pressure | ||
131 | on the VM subsystem for higher order allocations. This option | ||
132 | will also use IRQ stacks to compensate for the reduced stackspace. | ||
133 | |||
134 | config DOUBLEFAULT | 119 | config DOUBLEFAULT |
135 | default y | 120 | default y |
136 | bool "Enable doublefault exception handler" if EMBEDDED | 121 | bool "Enable doublefault exception handler" if EXPERT |
137 | depends on X86_32 | 122 | depends on X86_32 |
138 | ---help--- | 123 | ---help--- |
139 | This option allows trapping of rare doublefault exceptions that | 124 | This option allows trapping of rare doublefault exceptions that |