[LEDE-DEV] [PATCH] [base-files] dont change defaults for vm.min_free_kbytes on devices with <64mb RAM

Rafał Miłecki zajec5 at gmail.com
Fri Sep 16 06:15:44 PDT 2016


On 16 September 2016 at 11:31, Bastian Bittorf <bb at npl.de> wrote:
> with 5c9cc7b7f8920944a413644e1c2ea23bfe655bcb we changed the default
> value from ~650 to 4096 kilobyte on 32mb-RAM-devices. This makes them
> hardly useable with a lot of oom-crashes. Fix that and keep the default.
> For devices with more than 32mb we keep the behaviour and tweak the value.
> We dont suppress output of sysctl-command, so the use has a chance to spot it.

s/kilobyte/kilobytes/
s/mb/ MiB/
s/dont/don't/


> While we are at it, localize vars and read the memory without AWK/nonforking.

While you are at it, it would be great if you could use "MiB" in code as well.



More information about the Lede-dev mailing list