diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/um/Kconfig | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/arch/um/Kconfig b/arch/um/Kconfig index 450547a4b3be..78fb619bdb73 100644 --- a/arch/um/Kconfig +++ b/arch/um/Kconfig | |||
@@ -50,13 +50,15 @@ config IRQ_RELEASE_METHOD | |||
50 | menu "UML-specific options" | 50 | menu "UML-specific options" |
51 | 51 | ||
52 | config MODE_TT | 52 | config MODE_TT |
53 | bool "Tracing thread support" | 53 | bool "Tracing thread support (DEPRECATED)" |
54 | default n | 54 | default n |
55 | help | 55 | help |
56 | This option controls whether tracing thread support is compiled | 56 | This option controls whether tracing thread support is compiled |
57 | into UML. This option is largely obsolete, given that skas0 provides | 57 | into UML. This option is largely obsolete, given that skas0 provides |
58 | skas security and performance without needing to patch the host. | 58 | skas security and performance without needing to patch the host. |
59 | 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*. | ||
60 | 62 | ||
61 | config STATIC_LINK | 63 | config STATIC_LINK |
62 | bool "Force a static link" | 64 | bool "Force a static link" |
@@ -69,6 +71,9 @@ config STATIC_LINK | |||
69 | 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 |
70 | 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 |
71 | 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. | ||
72 | 77 | ||
73 | config KERNEL_HALF_GIGS | 78 | config KERNEL_HALF_GIGS |
74 | int "Kernel address space size (in .5G units)" | 79 | int "Kernel address space size (in .5G units)" |
@@ -85,10 +90,13 @@ config MODE_SKAS | |||
85 | default y | 90 | default y |
86 | help | 91 | help |
87 | This option controls whether skas (separate kernel address space) | 92 | This option controls whether skas (separate kernel address space) |
88 | support is compiled in. If you have applied the skas patch to the | 93 | support is compiled in. |
89 | 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 |
90 | to CONFIG_MODE_TT). Otherwise, it is safe to say Y. Disabling this | 95 | to developers), you should say Y here. |
91 | 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. | ||
92 | 100 | ||
93 | source "arch/um/Kconfig.arch" | 101 | source "arch/um/Kconfig.arch" |
94 | source "mm/Kconfig" | 102 | source "mm/Kconfig" |