Without a sufficient vm.min_free_kbytes value, the kernel may not start reclaiming memory early enough to make use of zram swap before the kernel OOM killer fires. Set a minimum of 100000 KB on devices with >= 1GB of RAM where the kernel's calculated value is lower. This ignores devices with <1GB of RAM, because I think with so little RAM isn't unlikely to really matter and if we set this too high then we risk insta-OOMs. Signed-off-by: Clayton Craft <craftyguy@postmarketos.org> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8157>