Files
pmaports-rtwo/main
Clayton Craft 0f0b8ceaa2 main/postmarketos-zram: override vm.min_free_kbytes if >= 1GB RAM
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>
2026-03-12 15:55:24 +00:00
..
2026-02-07 23:56:13 +00:00
2026-01-12 17:01:35 +01:00
2026-02-14 02:09:52 +00:00
2026-01-12 17:01:35 +01:00
2026-01-12 17:01:35 +01:00
2026-02-27 16:39:27 +00:00
2026-01-12 17:01:35 +01:00
2026-01-11 18:52:28 +01:00
2026-03-06 19:51:31 +00:00