diff options
author | Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> | 2006-10-11 04:21:41 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-11 14:14:21 -0400 |
commit | ca316fcf641532ee70dfc59daf632d1685b7d902 (patch) | |
tree | de5fde0b7889943700fbe6c9a6b143362f4bc034 /arch/um | |
parent | f2d57151bd3110ae3f0db3e5770ab1a46d1b647a (diff) |
[PATCH] uml: deprecate CONFIG_MODE_TT
Deprecate TT mode in Kconfig so that users won't select it, update the
MODE_SKAS description (it was largely obsolete and misleadin) and btw describe
advantages for high memory usage with CONFIG_STATIC_LINK.
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um')
-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" |