]> git.baikalelectronics.ru Git - kernel.git/commit
um: increase default virtual physical memory to 64 MiB
authorChristian Lamparter <chunkeey@gmail.com>
Sat, 6 Aug 2022 19:52:23 +0000 (21:52 +0200)
committerRichard Weinberger <richard@nod.at>
Mon, 19 Sep 2022 20:40:24 +0000 (22:40 +0200)
commit499668a069d0ceb9da23d2802e069f0e9534f49f
tree0ccf581fffecb09baf78cbca6ce129e15d067daa
parent1e344f727a593f6dfa88aa3cc9402e4e8d1a0697
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>
arch/um/kernel/um_arch.c