diff options
author | Christian Lamparter <chunkeey@gmail.com> | 2022-08-06 21:52:23 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2022-09-19 22:40:24 +0200 |
commit | 0d644e918532f7eba2b02e0eaf60ee1a1b20a856 (patch) | |
tree | 0ccf581fffecb09baf78cbca6ce129e15d067daa /arch | |
parent | UM: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK (diff) | |
download | linux-0d644e918532f7eba2b02e0eaf60ee1a1b20a856.tar.xz linux-0d644e918532f7eba2b02e0eaf60ee1a1b20a856.zip |
um: increase default virtual physical memory to 64 MiB
The current 32 MiB of RAM causes OOMs to appear shortly after
booting in a minimal OpenWrt 22.03 configuration with a
5.10.134 kernel.
Of course, passing a "mem=64M" (from the --help text) parameter
works too, but it produces the following (info) message:
| [ 0.000000] Unknown kernel command line parameters "mem=64M", will be passed to user space.
That's why, I think it would be nicer, if this is working out
of the box again :).
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/um/kernel/um_arch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c index 11df93731857..207f195dff56 100644 --- a/arch/um/kernel/um_arch.c +++ b/arch/um/kernel/um_arch.c @@ -132,7 +132,7 @@ static int have_root __initdata; static int have_console __initdata; /* Set in uml_mem_setup and modified in linux_main */ -long long physmem_size = 32 * 1024 * 1024; +long long physmem_size = 64 * 1024 * 1024; EXPORT_SYMBOL(physmem_size); static const char *usage_string = |