summaryrefslogtreecommitdiffstats
path: root/src/oom (follow)
Commit message (Expand)AuthorAgeFilesLines
* Replace format_bytes_cgroup_protection with FORMAT_BYTES_CGROUP_PROTECTIONZbigniew Jędrzejewski-Szmek2021-07-091-4/+2
* tree-wide: add FORMAT_BYTES()Zbigniew Jędrzejewski-Szmek2021-07-091-12/+7
* tree-wide: add FORMAT_TIMESPAN()Zbigniew Jędrzejewski-Szmek2021-07-092-12/+5
* oomd: don't collect candidate stats on every intervalAnita Zhang2021-07-071-7/+0
* oomd: review follow ups to #20020Anita Zhang2021-07-021-7/+15
* Merge pull request #20020 from anitazha/oomd_with_memZbigniew Jędrzejewski-Szmek2021-06-304-58/+120
|\
| * oomd: check mem free and swap free before doing a swap-based killAnita Zhang2021-06-301-4/+11
| * oomd: get memory total and free as part of system contextAnita Zhang2021-06-303-14/+54
| * oomd: switch system context parsing to use /proc/meminfoAnita Zhang2021-06-303-49/+64
* | basic: move acquire_data_fd() and fd_duplicate_data_fd() to new data-fd-util.cZbigniew Jędrzejewski-Szmek2021-06-241-0/+1
|/
* oom: log one-time warning if kernel doesn't provide memory.swap.currentDan Streetman2021-05-201-1/+5
* fix: point to the correct drop-ins subdirectory for confsJóhann B. Guðmundsson2021-04-221-1/+1
* Merge pull request #19126 from anitazha/oomdimprovementsZbigniew Jędrzejewski-Szmek2021-04-066-219/+274
|\
| * oomd: threshold swap kill candidates to usages of more than 5%Anita Zhang2021-04-054-8/+13
| * oomd: don't get pressure candidates on every intervalAnita Zhang2021-04-051-5/+43
| * oomd: force DefaultMemoryPressureDurationSec= to be greater than or equal 1 secAnita Zhang2021-04-021-0/+3
| * oomd: delete unused variablesAnita Zhang2021-04-022-4/+0
| * oomd: rename last_hit_mem_pressure_limit -> mem_pressure_limit_hit_startAnita Zhang2021-04-023-18/+18
| * oomd: rework memory reclaim detection logicAnita Zhang2021-04-025-125/+60
| * oomd: refactor pgscan_rate calculation into helperAnita Zhang2021-04-022-17/+24
| * oomd: split swap and mem pressure event timersAnita Zhang2021-04-022-56/+127
* | test-oomd-util: fix running in mkosiAnita Zhang2021-04-021-2/+9
|/
* Merge pull request #19149 from anitazha/oomdloggingLuca Boccassi2021-03-303-32/+85
|\
| * oomd: fix iteration over candidates to killZbigniew Jędrzejewski-Szmek2021-03-301-10/+10
| * oomd: make it more clear when a kill happensAnita Zhang2021-03-303-24/+77
* | config files: recommend systemd-analyze cat-configZbigniew Jędrzejewski-Szmek2021-03-261-0/+2
|/
* oomd: clean up error handlingAnita Zhang2021-03-171-16/+42
* oomctl: show last_pgscanAnita Zhang2021-03-171-2/+4
* oomd: sort by pgscan rate not pgscanAnita Zhang2021-03-174-26/+58
* oomd: update memory pressure candidates every intervalAnita Zhang2021-03-172-6/+32
* oomd: new helper oomd_update_cgroup_contexts_between_hashmapsAnita Zhang2021-03-173-0/+70
* oomd: "downgrade" level of messageZbigniew Jędrzejewski-Szmek2021-03-091-1/+1
* oomd: wrap paths in oomd_insert_cgroup_context with empty_to_rootAnita Zhang2021-03-092-1/+5
* oomd: move TAKE_PTR to end of oomd_insert_cgroup_context()Anita Zhang2021-03-081-3/+3
* oomd: add unit test to repro #18926Anita Zhang2021-03-081-0/+1
* tree-wide: use UINT64_MAX or friendsYu Watanabe2021-03-041-1/+1
* Merge pull request #18659 from poettering/permyriadificationYu Watanabe2021-02-197-37/+51
|\
| * oomd: increase accuracy of SwapUsedLimit= to permyriads tooLennart Poettering2021-02-187-42/+50
| * core: use our usual UINT32_MAX scaling for OOMD limitsLennart Poettering2021-02-181-3/+9
* | Recommend drop-ins over modifications to the main config fileZbigniew Jędrzejewski-Szmek2021-02-191-7/+8
|/
* tree-wide: return NULL from freeing functionsZbigniew Jędrzejewski-Szmek2021-02-162-3/+3
* Merge pull request #18401 from anitazha/oomdxattrZbigniew Jędrzejewski-Szmek2021-02-134-27/+127
|\
| * oom: implement avoid/omit xattr supportAnita Zhang2021-02-093-9/+98
| * oom: skip over cgroups with no memory usageAnita Zhang2021-02-091-1/+2
| * oom: sort by pgscan and memory usageAnita Zhang2021-02-093-13/+23
| * oom: wrap reply.path with empty_to_rootAnita Zhang2021-02-091-3/+3
| * oom: shorten xattr nameAnita Zhang2021-02-092-3/+3
* | tree-wide: propagate error code from _from_string() functionsZbigniew Jędrzejewski-Szmek2021-02-101-1/+1
|/
* Merge pull request #18375 from yuwata/cli-tools-also-read-kernel-command-lineZbigniew Jędrzejewski-Szmek2021-02-081-1/+1
|\
| * tree-wide: enable colorized logging for daemons when run in consoleYu Watanabe2021-01-311-1/+1