diff options
Diffstat (limited to 'arch/um/Kconfig')
| -rw-r--r-- | arch/um/Kconfig | 58 |
1 files changed, 31 insertions, 27 deletions
diff --git a/arch/um/Kconfig b/arch/um/Kconfig index ec9711d068b7..6b6eb938fcc1 100644 --- a/arch/um/Kconfig +++ b/arch/um/Kconfig | |||
| @@ -80,46 +80,46 @@ config LD_SCRIPT_DYN | |||
| 80 | bool | 80 | bool |
| 81 | default y | 81 | default y |
| 82 | depends on !LD_SCRIPT_STATIC | 82 | depends on !LD_SCRIPT_STATIC |
| 83 | select MODULE_REL_CRCS if MODVERSIONS | 83 | select MODULE_REL_CRCS if MODVERSIONS |
| 84 | 84 | ||
| 85 | config HOSTFS | 85 | config HOSTFS |
| 86 | tristate "Host filesystem" | 86 | tristate "Host filesystem" |
| 87 | help | 87 | help |
| 88 | While the User-Mode Linux port uses its own root file system for | 88 | While the User-Mode Linux port uses its own root file system for |
| 89 | booting and normal file access, this module lets the UML user | 89 | booting and normal file access, this module lets the UML user |
| 90 | access files stored on the host. It does not require any | 90 | access files stored on the host. It does not require any |
| 91 | network connection between the Host and UML. An example use of | 91 | network connection between the Host and UML. An example use of |
| 92 | this might be: | 92 | this might be: |
| 93 | 93 | ||
| 94 | mount none /tmp/fromhost -t hostfs -o /tmp/umlshare | 94 | mount none /tmp/fromhost -t hostfs -o /tmp/umlshare |
| 95 | 95 | ||
| 96 | where /tmp/fromhost is an empty directory inside UML and | 96 | where /tmp/fromhost is an empty directory inside UML and |
| 97 | /tmp/umlshare is a directory on the host with files the UML user | 97 | /tmp/umlshare is a directory on the host with files the UML user |
| 98 | wishes to access. | 98 | wishes to access. |
| 99 | 99 | ||
| 100 | For more information, see | 100 | For more information, see |
| 101 | <http://user-mode-linux.sourceforge.net/hostfs.html>. | 101 | <http://user-mode-linux.sourceforge.net/hostfs.html>. |
| 102 | 102 | ||
| 103 | If you'd like to be able to work with files stored on the host, | 103 | If you'd like to be able to work with files stored on the host, |
| 104 | say Y or M here; otherwise say N. | 104 | say Y or M here; otherwise say N. |
| 105 | 105 | ||
| 106 | config MCONSOLE | 106 | config MCONSOLE |
| 107 | bool "Management console" | 107 | bool "Management console" |
| 108 | depends on PROC_FS | 108 | depends on PROC_FS |
| 109 | default y | 109 | default y |
| 110 | help | 110 | help |
| 111 | The user mode linux management console is a low-level interface to | 111 | The user mode linux management console is a low-level interface to |
| 112 | the kernel, somewhat like the i386 SysRq interface. Since there is | 112 | the kernel, somewhat like the i386 SysRq interface. Since there is |
| 113 | a full-blown operating system running under every user mode linux | 113 | a full-blown operating system running under every user mode linux |
| 114 | instance, there is much greater flexibility possible than with the | 114 | instance, there is much greater flexibility possible than with the |
| 115 | SysRq mechanism. | 115 | SysRq mechanism. |
| 116 | 116 | ||
| 117 | If you answer 'Y' to this option, to use this feature, you need the | 117 | If you answer 'Y' to this option, to use this feature, you need the |
| 118 | mconsole client (called uml_mconsole) which is present in CVS in | 118 | mconsole client (called uml_mconsole) which is present in CVS in |
| 119 | 2.4.5-9um and later (path /tools/mconsole), and is also in the | 119 | 2.4.5-9um and later (path /tools/mconsole), and is also in the |
| 120 | distribution RPM package in 2.4.6 and later. | 120 | distribution RPM package in 2.4.6 and later. |
| 121 | 121 | ||
| 122 | It is safe to say 'Y' here. | 122 | It is safe to say 'Y' here. |
| 123 | 123 | ||
| 124 | config MAGIC_SYSRQ | 124 | config MAGIC_SYSRQ |
| 125 | bool "Magic SysRq key" | 125 | bool "Magic SysRq key" |
| @@ -142,13 +142,17 @@ config MAGIC_SYSRQ | |||
| 142 | 142 | ||
| 143 | config KERNEL_STACK_ORDER | 143 | config KERNEL_STACK_ORDER |
| 144 | int "Kernel stack size order" | 144 | int "Kernel stack size order" |
| 145 | default 1 if 64BIT | 145 | default 2 if 64BIT |
| 146 | range 1 10 if 64BIT | 146 | range 2 10 if 64BIT |
| 147 | default 0 if !64BIT | 147 | default 1 if !64BIT |
| 148 | help | 148 | help |
| 149 | This option determines the size of UML kernel stacks. They will | 149 | This option determines the size of UML kernel stacks. They will |
| 150 | be 1 << order pages. The default is OK unless you're running Valgrind | 150 | be 1 << order pages. The default is OK unless you're running Valgrind |
| 151 | on UML, in which case, set this to 3. | 151 | on UML, in which case, set this to 3. |
| 152 | It is possible to reduce the stack to 1 for 64BIT and 0 for 32BIT on | ||
| 153 | older (pre-2017) CPUs. It is not recommended on newer CPUs due to the | ||
| 154 | increase in the size of the state which needs to be saved when handling | ||
| 155 | signals. | ||
| 152 | 156 | ||
| 153 | config MMAPPER | 157 | config MMAPPER |
| 154 | tristate "iomem emulation driver" | 158 | tristate "iomem emulation driver" |
