Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | oom: make swap a soft requirement | Anita Zhang | 2021-01-24 | 1 | -0/+11 |
| | |||||
* | test: use for(;;) instead of while(true) | Yu Watanabe | 2020-11-27 | 1 | -1/+1 |
| | |||||
* | test-oomd-util: remove memory_pressure == 0 checks | Anita Zhang | 2020-11-17 | 1 | -4/+0 |
| | | | | | | | | | | | test_oomd_cgroup_context_acquire_and_insert reads the live cgroup data used by the unit test. Under certain conditions, the memory pressure for the cgroup can be non-zero (although most of the time it is 0 since these tests don't generate much pressure). Since these values are too dependent on the state of the system, remove the checks. The type used is always >= 0 and test-psi-util already unit tests that PSI values are parsed correctly from files so this test is redundant anyways. | ||||
* | license: LGPL-2.1+ -> LGPL-2.1-or-later | Yu Watanabe | 2020-11-09 | 1 | -1/+1 |
| | |||||
* | oomd: use ERRNO_IS_NOT_SUPPORTED and ERRNO_IS_PRIVILEGE | Anita Zhang | 2020-10-22 | 1 | -1/+1 |
| | |||||
* | oomd: fix unit test when xattrs not supported | Anita Zhang | 2020-10-17 | 1 | -4/+6 |
| | |||||
* | systemd-oomd: unit testable helper functions | Anita Zhang | 2020-10-08 | 1 | -0/+348 |
Helpers used by the systemd-oomd daemon to read/fill in various contexts and make detection and kill decisions. i.e. a simplified/less configurable version of https://github.com/facebookincubator/oomd/tree/master/src/oomd. |