base-files: increase vm.min_free_kbytes
authorFelix Fietkau <nbd@nbd.name>
Mon, 1 Aug 2016 12:52:13 +0000 (14:52 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 1 Aug 2016 12:53:27 +0000 (14:53 +0200)
commit5c9cc7b7f8920944a413644e1c2ea23bfe655bcb
treec5da77de97d3c6e1b01d002621b9db916cae8b25
parentdf3a2ca1a9154361167e0e30745ca7954bf13b6f
base-files: increase vm.min_free_kbytes

Network drivers typically allocate memory in atomic context. For that to
be reliable, there needs to be enough free memory. Set the value
heuristically based on the total amount of system RAM.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/base-files/files/etc/init.d/sysctl