Skip to content

Commit 983dfa4

Browse files
committed
Merge tag 'for-linus-5.2-rc1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/rw/uml
Pull UML updates from Richard Weinberger: - Kconfig cleanups - Fix cpu_all_mask() usage - Various bug fixes * tag 'for-linus-5.2-rc1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/rw/uml: um: irq: don't set the chip for all irqs um: define set_pte_at() as a static inline function, not a macro um: remove uses of variable length arrays um: remove unused variable uml: fix a boot splat wrt use of cpu_all_mask um: Do not unlock mutex that is not hold. hostfs: fix mismatch between link_file definition and declaration arch: um: drivers: Kconfig: pedantic formatting arch: um: Kconfig: pedantic indention cleanups um: Revert to using stack for pt_regs in signal handling
2 parents 4778236 + 1987b1b commit 983dfa4

10 files changed

Lines changed: 253 additions & 239 deletions

File tree

‎arch/um/Kconfig‎

Lines changed: 31 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -80,46 +80,46 @@ config LD_SCRIPT_DYN
8080
bool
8181
default y
8282
depends on !LD_SCRIPT_STATIC
83-
select MODULE_REL_CRCS if MODVERSIONS
83+
select MODULE_REL_CRCS if MODVERSIONS
8484

8585
config HOSTFS
8686
tristate "Host filesystem"
8787
help
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
90-
access files stored on the host. It does not require any
91-
network connection between the Host and UML. An example use of
92-
this might be:
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
90+
access files stored on the host. It does not require any
91+
network connection between the Host and UML. An example use of
92+
this might be:
9393

94-
mount none /tmp/fromhost -t hostfs -o /tmp/umlshare
94+
mount none /tmp/fromhost -t hostfs -o /tmp/umlshare
9595

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
98-
wishes to access.
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
98+
wishes to access.
9999

100-
For more information, see
101-
<http://user-mode-linux.sourceforge.net/hostfs.html>.
100+
For more information, see
101+
<http://user-mode-linux.sourceforge.net/hostfs.html>.
102102

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.
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.
105105

106106
config MCONSOLE
107107
bool "Management console"
108108
depends on PROC_FS
109109
default y
110110
help
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
113-
a full-blown operating system running under every user mode linux
114-
instance, there is much greater flexibility possible than with the
115-
SysRq mechanism.
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
113+
a full-blown operating system running under every user mode linux
114+
instance, there is much greater flexibility possible than with the
115+
SysRq mechanism.
116116

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
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.
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
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.
121121

122-
It is safe to say 'Y' here.
122+
It is safe to say 'Y' here.
123123

124124
config MAGIC_SYSRQ
125125
bool "Magic SysRq key"
@@ -142,13 +142,17 @@ config MAGIC_SYSRQ
142142

143143
config KERNEL_STACK_ORDER
144144
int "Kernel stack size order"
145-
default 1 if 64BIT
146-
range 1 10 if 64BIT
147-
default 0 if !64BIT
145+
default 2 if 64BIT
146+
range 2 10 if 64BIT
147+
default 1 if !64BIT
148148
help
149149
This option determines the size of UML kernel stacks. They will
150150
be 1 << order pages. The default is OK unless you're running Valgrind
151151
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.
152156

153157
config MMAPPER
154158
tristate "iomem emulation driver"

0 commit comments

Comments
 (0)