summaryrefslogtreecommitdiff
path: root/src/oom/test-oomd-util.c
Commit message (Expand)AuthorAgeFilesLines
* oomd: add tests for oomd_fetch_cgroup_oom_preferenceNick Rosbrook2022-08-261-45/+83
* oomd: calculate 'used' memory with MemAvailable instead of MemFreeNick Rosbrook2022-04-051-4/+4
* test/oomd: Add test for new oomd_ooms xattrNishal Kulkarni2022-03-221-1/+5
* Merge pull request #22596 from yuwata/test-fix-fd-leaksYu Watanabe2022-02-231-1/+4
|\
| * test: fix file descriptor leak in test-oomd-utilYu Watanabe2022-02-221-1/+4
* | test-oomd-util: fix conditional jump on uninitialised valueYu Watanabe2022-02-221-1/+1
* | test-oomd-util: style fixletsYu Watanabe2022-02-221-4/+3
|/
* test: use assert_se() instead of assert()Yu Watanabe2021-10-121-1/+1
* test-oomd-util: skip tests if cgroup memory controller is not availableYu Watanabe2021-09-121-0/+6
* oomd: get memory total and free as part of system contextAnita Zhang2021-06-301-6/+13
* oomd: switch system context parsing to use /proc/meminfoAnita Zhang2021-06-301-17/+24
* Merge pull request #19126 from anitazha/oomdimprovementsZbigniew Jędrzejewski-Szmek2021-04-061-57/+21
|\
| * oomd: rename last_hit_mem_pressure_limit -> mem_pressure_limit_hit_startAnita Zhang2021-04-011-10/+10
| * oomd: rework memory reclaim detection logicAnita Zhang2021-04-011-47/+11
* | test-oomd-util: fix running in mkosiAnita Zhang2021-04-011-2/+9
|/
* oomd: sort by pgscan rate not pgscanAnita Zhang2021-03-171-19/+35
* oomd: new helper oomd_update_cgroup_contexts_between_hashmapsAnita Zhang2021-03-161-0/+48
* oomd: add unit test to repro #18926Anita Zhang2021-03-081-0/+1
* oomd: increase accuracy of SwapUsedLimit= to permyriads tooLennart Poettering2021-02-181-3/+3
* oom: implement avoid/omit xattr supportAnita Zhang2021-02-091-4/+56
* oom: sort by pgscan and memory usageAnita Zhang2021-02-091-10/+14
* oom: shorten xattr nameAnita Zhang2021-02-091-1/+1
* oom: make swap a soft requirementAnita Zhang2021-01-241-0/+11
* test: use for(;;) instead of while(true)Yu Watanabe2020-11-271-1/+1
* test-oomd-util: remove memory_pressure == 0 checksAnita Zhang2020-11-171-4/+0
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* oomd: use ERRNO_IS_NOT_SUPPORTED and ERRNO_IS_PRIVILEGEAnita Zhang2020-10-211-1/+1
* oomd: fix unit test when xattrs not supportedAnita Zhang2020-10-161-4/+6
* systemd-oomd: unit testable helper functionsAnita Zhang2020-10-071-0/+348