aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/Kconfig')
-rw-r--r--arch/um/Kconfig35
1 files changed, 28 insertions, 7 deletions
diff --git a/arch/um/Kconfig b/arch/um/Kconfig
index d75307589d74..78fb619bdb73 100644
--- a/arch/um/Kconfig
+++ b/arch/um/Kconfig
@@ -25,6 +25,19 @@ config PCI
25config PCMCIA 25config PCMCIA
26 bool 26 bool
27 27
28# Yet to do!
29config TRACE_IRQFLAGS_SUPPORT
30 bool
31 default n
32
33config LOCKDEP_SUPPORT
34 bool
35 default y
36
37config STACKTRACE_SUPPORT
38 bool
39 default y
40
28config GENERIC_CALIBRATE_DELAY 41config GENERIC_CALIBRATE_DELAY
29 bool 42 bool
30 default y 43 default y
@@ -37,13 +50,15 @@ config IRQ_RELEASE_METHOD
37menu "UML-specific options" 50menu "UML-specific options"
38 51
39config MODE_TT 52config MODE_TT
40 bool "Tracing thread support" 53 bool "Tracing thread support (DEPRECATED)"
41 default n 54 default n
42 help 55 help
43 This option controls whether tracing thread support is compiled 56 This option controls whether tracing thread support is compiled
44 into UML. This option is largely obsolete, given that skas0 provides 57 into UML. This option is largely obsolete, given that skas0 provides
45 skas security and performance without needing to patch the host. 58 skas security and performance without needing to patch the host.
46 It is safe to say 'N' here. 59 It is safe to say 'N' here; saying 'Y' may cause additional problems
60 with the resulting binary even if you run UML in SKAS mode, and running
61 in TT mode is strongly *NOT RECOMMENDED*.
47 62
48config STATIC_LINK 63config STATIC_LINK
49 bool "Force a static link" 64 bool "Force a static link"
@@ -56,6 +71,9 @@ config STATIC_LINK
56 for use in a chroot jail. So, if you intend to run UML inside a 71 for use in a chroot jail. So, if you intend to run UML inside a
57 chroot, and you disable CONFIG_MODE_TT, you probably want to say Y 72 chroot, and you disable CONFIG_MODE_TT, you probably want to say Y
58 here. 73 here.
74 Additionally, this option enables using higher memory spaces (up to
75 2.75G) for UML - disabling CONFIG_MODE_TT and enabling this option leads
76 to best results for this.
59 77
60config KERNEL_HALF_GIGS 78config KERNEL_HALF_GIGS
61 int "Kernel address space size (in .5G units)" 79 int "Kernel address space size (in .5G units)"
@@ -72,10 +90,13 @@ config MODE_SKAS
72 default y 90 default y
73 help 91 help
74 This option controls whether skas (separate kernel address space) 92 This option controls whether skas (separate kernel address space)
75 support is compiled in. If you have applied the skas patch to the 93 support is compiled in.
76 host, then you certainly want to say Y here (and consider saying N 94 Unless you have specific needs to use TT mode (which applies almost only
77 to CONFIG_MODE_TT). Otherwise, it is safe to say Y. Disabling this 95 to developers), you should say Y here.
78 option will shrink the UML binary slightly. 96 SKAS mode will make use of the SKAS3 patch if it is applied on the host
97 (and your UML will run in SKAS3 mode), but if no SKAS patch is applied
98 on the host it will run in SKAS0 mode, which is anyway faster than TT
99 mode.
79 100
80source "arch/um/Kconfig.arch" 101source "arch/um/Kconfig.arch"
81source "mm/Kconfig" 102source "mm/Kconfig"