diff options
| author | Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> | 2006-01-18 20:42:59 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-18 22:20:21 -0500 |
| commit | ce2d2aedcc3ca582fed90f44970e8b3e4f006a7d (patch) | |
| tree | d62b397ea52aa09ebe466b6a4a79505e3c76e15c | |
| parent | b63162939cd797c8269964ce856ed1f2fec5f70e (diff) | |
[PATCH] uml: arch Kconfig menu cleanups
*) mark as "EXPERIMENTAL" various items that either aren't very stable or
that are actively crashing the setup of users which don't really need them
(i.e. HIGHMEM and 3-level pagetables on x86 - nobody needs either,
everybody reports "I'm using it and getting trouble").
*) move net/Kconfig near to the rest of network configurations, and
drivers/block/Kconfig near "Block layer" submenu.
*) it's useless and doesn't work well to force NETDEVICES on and to disable
the prompt like it's done. Better remove the attempt, and change that to a
simple "default y if UML".
*) drop the warning about "report problems about HPPFS" - it's redundant
anyway, as that's the usual procedure, and HPPFS users are especially
technical (i.e. they know reporting bugs is _good_).
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>
| -rw-r--r-- | arch/um/Kconfig | 27 | ||||
| -rw-r--r-- | arch/um/Kconfig.i386 | 6 | ||||
| -rw-r--r-- | drivers/net/Kconfig | 1 |
3 files changed, 20 insertions, 14 deletions
diff --git a/arch/um/Kconfig b/arch/um/Kconfig index 8ff3bcbce5fc..5982fe2753e0 100644 --- a/arch/um/Kconfig +++ b/arch/um/Kconfig | |||
| @@ -143,6 +143,7 @@ config HOSTFS | |||
| 143 | 143 | ||
| 144 | config HPPFS | 144 | config HPPFS |
| 145 | tristate "HoneyPot ProcFS (EXPERIMENTAL)" | 145 | tristate "HoneyPot ProcFS (EXPERIMENTAL)" |
| 146 | depends on EXPERIMENTAL | ||
| 146 | help | 147 | help |
| 147 | hppfs (HoneyPot ProcFS) is a filesystem which allows UML /proc | 148 | hppfs (HoneyPot ProcFS) is a filesystem which allows UML /proc |
| 148 | entries to be overridden, removed, or fabricated from the host. | 149 | entries to be overridden, removed, or fabricated from the host. |
| @@ -155,10 +156,6 @@ config HPPFS | |||
| 155 | You only need this if you are setting up a UML honeypot. Otherwise, | 156 | You only need this if you are setting up a UML honeypot. Otherwise, |
| 156 | it is safe to say 'N' here. | 157 | it is safe to say 'N' here. |
| 157 | 158 | ||
| 158 | If you are actively using it, please report any problems, since it's | ||
| 159 | getting fixed. In this moment, it is experimental on 2.6 (it works on | ||
| 160 | 2.4). | ||
| 161 | |||
| 162 | config MCONSOLE | 159 | config MCONSOLE |
| 163 | bool "Management console" | 160 | bool "Management console" |
| 164 | default y | 161 | default y |
| @@ -243,8 +240,16 @@ config NEST_LEVEL | |||
| 243 | Only change this if you are running nested UMLs. | 240 | Only change this if you are running nested UMLs. |
| 244 | 241 | ||
| 245 | config HIGHMEM | 242 | config HIGHMEM |
| 246 | bool "Highmem support" | 243 | bool "Highmem support (EXPERIMENTAL)" |
| 247 | depends on !64BIT | 244 | depends on !64BIT && EXPERIMENTAL |
| 245 | default n | ||
| 246 | help | ||
| 247 | This was used to allow UML to run with big amounts of memory. | ||
| 248 | Currently it is unstable, so if unsure say N. | ||
| 249 | |||
| 250 | To use big amounts of memory, it is recommended to disable TT mode (i.e. | ||
| 251 | CONFIG_MODE_TT) and enable static linking (i.e. CONFIG_STATIC_LINK) - | ||
| 252 | this should allow the guest to use up to 2.75G of memory. | ||
| 248 | 253 | ||
| 249 | config KERNEL_STACK_ORDER | 254 | config KERNEL_STACK_ORDER |
| 250 | int "Kernel stack size order" | 255 | int "Kernel stack size order" |
| @@ -269,17 +274,13 @@ endmenu | |||
| 269 | 274 | ||
| 270 | source "init/Kconfig" | 275 | source "init/Kconfig" |
| 271 | 276 | ||
| 272 | source "net/Kconfig" | 277 | source "drivers/block/Kconfig" |
| 273 | |||
| 274 | source "drivers/base/Kconfig" | ||
| 275 | 278 | ||
| 276 | source "arch/um/Kconfig.char" | 279 | source "arch/um/Kconfig.char" |
| 277 | 280 | ||
| 278 | source "drivers/block/Kconfig" | 281 | source "drivers/base/Kconfig" |
| 279 | 282 | ||
| 280 | config NETDEVICES | 283 | source "net/Kconfig" |
| 281 | bool | ||
| 282 | default NET | ||
| 283 | 284 | ||
| 284 | source "arch/um/Kconfig.net" | 285 | source "arch/um/Kconfig.net" |
| 285 | 286 | ||
diff --git a/arch/um/Kconfig.i386 b/arch/um/Kconfig.i386 index c71b39a677aa..ef79ed25aecd 100644 --- a/arch/um/Kconfig.i386 +++ b/arch/um/Kconfig.i386 | |||
| @@ -22,13 +22,17 @@ config TOP_ADDR | |||
| 22 | default 0x80000000 if HOST_2G_2G | 22 | default 0x80000000 if HOST_2G_2G |
| 23 | 23 | ||
| 24 | config 3_LEVEL_PGTABLES | 24 | config 3_LEVEL_PGTABLES |
| 25 | bool "Three-level pagetables" | 25 | bool "Three-level pagetables (EXPERIMENTAL)" |
| 26 | default n | 26 | default n |
| 27 | depends on EXPERIMENTAL | ||
| 27 | help | 28 | help |
| 28 | Three-level pagetables will let UML have more than 4G of physical | 29 | Three-level pagetables will let UML have more than 4G of physical |
| 29 | memory. All the memory that can't be mapped directly will be treated | 30 | memory. All the memory that can't be mapped directly will be treated |
| 30 | as high memory. | 31 | as high memory. |
| 31 | 32 | ||
| 33 | However, this it experimental on 32-bit architectures, so if unsure say | ||
| 34 | N (on x86-64 it's automatically enabled, instead, as it's safe there). | ||
| 35 | |||
| 32 | config STUB_CODE | 36 | config STUB_CODE |
| 33 | hex | 37 | hex |
| 34 | default 0xbfffe000 | 38 | default 0xbfffe000 |
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 0c69918671ca..626508afe1b1 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
| @@ -7,6 +7,7 @@ menu "Network device support" | |||
| 7 | 7 | ||
| 8 | config NETDEVICES | 8 | config NETDEVICES |
| 9 | depends on NET | 9 | depends on NET |
| 10 | default y if UML | ||
| 10 | bool "Network device support" | 11 | bool "Network device support" |
| 11 | ---help--- | 12 | ---help--- |
| 12 | You can say N here if you don't intend to connect your Linux box to | 13 | You can say N here if you don't intend to connect your Linux box to |
