0f0b8ceaa26aabb9f5550ef31e546fb05b3318eb
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>
postmarketOS aports repository
This repository contains the APKBUILD files for postmarketOS-specific packages, along with the required patches and scripts, if any.
There are many more packages defined in the Alpine Linux aports on which these packages depend.
Helpful resources:
- How to create a package
- APKBUILD reference
- pmaports commit style
- Review and merging guidelines
- Alpine Linux aports
- Alpine Linux package search
- postmarketOS package search
Git Hooks
You can find some useful git hooks in the .githooks directory.
To use them, run the following command after cloning this repository:
git config --local core.hooksPath .githooks
Languages
Shell
95.8%
Python
2.5%
C
1.2%
Batchfile
0.3%
Jinja
0.2%