ed4088ae33a2590f7f55b3783cca87a01d595d9e
This disables swap-based killing and sets a lower pressure threshold for user apps in the app slice so they will get killed sooner than other things (e..g the whole session slice). Killing based on swap usage was resulting in some sudden kills from oomd, and upon further investigation is seems like other distros (ubuntu, fedora) either never enabled this or walked it back due to it being confusing for users. The override for app.slice and sets the pressure limit to a value less than the other slices, in an attempt to fix situations where an app (e.g. firefox) was creating a ton of pressure and systemd-oomd was killing the entire UI/session. Signed-off-by: Clayton Craft <craftyguy@postmarketos.org> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7751>
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%