summaryrefslogtreecommitdiffstats
path: root/src/core/cgroup.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* core/cgroup: rename CGROUP_PRESSURE_WATCH_ON/OFF -> CGROUP_PRESSURE_WATCH_YES/NOYu Watanabe2024-10-261-3/+3
* cgroup: Add ManagedOOMMemoryPressureDurationSec= override setting for unitsRyan Wilson2024-10-171-0/+7
* core/cgroup: cache IO accounting data when pruning a cgroupIvan Shapovalov2024-09-231-3/+15
* core/cgroup: drop `allow_cache` parameter in `unit_get_io_accounting()`Ivan Shapovalov2024-09-211-4/+0
* core/cgroup: use UNIT_IS_INACTIVE_OR_FAILED where appropriateMike Yuan2024-07-311-1/+1
* Merge pull request #33591 from teknoraver/o_pathLuca Boccassi2024-07-191-1/+1
|\
| * use O_PATH to obtain cgroupfs fdMatteo Croce2024-07-161-1/+1
* | core/unit: introduce unit_freezer_complete, correctly report end stateMike Yuan2024-07-171-6/+2
* | core/unit: introduce unit_set_freezer_state, make logging consistentMike Yuan2024-07-171-6/+2
* | core/cgroup: skip freezer action wholly if current == objectiveMike Yuan2024-07-171-7/+12
* | core/cgroup: replace hardcoded state set with freezer_state_finish()Mike Yuan2024-07-171-4/+5
* | core/unit: rename freezer "target" to "objective"Mike Yuan2024-07-171-6/+6
* | core,unit-def: use our usual way of asserting enumsMike Yuan2024-07-171-2/+2
|/
* core: do not drop CGroupRuntime when unit stops, but only on GCMike Yuan2024-06-281-13/+15
* core/cgroup: drop spurious ", ignoring" for unit_cgroup_is_emptyMike Yuan2024-06-281-2/+1
* core/cgroup: actually make use of the cached accounting valuesMike Yuan2024-06-281-5/+5
* core/cgroup: check root cgroup earlier for unit_get_memory_accountingMike Yuan2024-06-281-4/+4
* core: unify reset_accounting handlingMike Yuan2024-06-281-92/+69
* core/cgroup: call bpf_firewall_close in cgroup_runtime_freeMike Yuan2024-06-281-14/+1
* core/cgroup: make unit_has_host_root_cgroup take const Unit*Mike Yuan2024-06-281-1/+2
* core/cgroup: check CGroupRuntime.cgroup_path rather than _realized for freezerMike Yuan2024-06-281-1/+1
* core/cgroup: use > 0 comparison rather than == 1Mike Yuan2024-06-281-1/+1
* various: move const ptr indicator to return valueZbigniew Jędrzejewski-Szmek2024-06-191-2/+2
* cgroup-util: allow cg_read_pid() to skip unmapped (zero) pidsTimo Rothenpieler2024-05-141-2/+4
* tree-wise: several cleanups for loggingYu Watanabe2024-04-301-3/+3
* manager: Improve freeze/thaw for unrealized cgroupAdrian Vovk2024-04-231-4/+10
* use FOREACH_ELEMENTMatteo Croce2024-04-181-5/+5
* manager: Freeze/Thaw: Don't fail units w/o cgroupAdrian Vovk2024-03-291-1/+1
* core/cgroup: introduce MemoryZSwapWriteback settingMike Yuan2024-03-141-0/+6
* core/cgroup: remove obsolete TODOMike Yuan2024-02-271-1/+1
* cgroup: typo fix initial_restric_ifaces_link_fds → initial_restrict_ifaces_...Lennart Poettering2024-02-191-1/+1
* core/cgroup: drop duplicated free()sYu Watanabe2024-02-171-3/+0
* core: split out cgroup specific state fields from Unit → CGroupRuntimeLennart Poettering2024-02-161-227/+842
* cgroup: normalize parameter order in format_cgroup_memory_comparison()Lennart Poettering2024-02-161-24/+16
* bpf-devices: normalize the return handling of functions that put together policyLennart Poettering2024-02-091-4/+8
* Merge pull request #31039 from AdrianVovk/slice-freeze-thawLennart Poettering2024-01-311-51/+67
|\
| * core: Rework recursive freeze/thawAdrian Vovk2024-01-301-51/+67
* | core: rename restrict-ifaces.[ch] → bpf-restrict-ifaces.[ch]Lennart Poettering2024-01-251-3/+3
* | bpf-restrict-fs: also rename functions to bpf_restrict_fs_xyz()Lennart Poettering2024-01-251-1/+1
* | core: constify PidRef argumentsYu Watanabe2024-01-241-3/+3
* | cgroup: Rename effective limits internal tableMichal Koutný2024-01-221-2/+2
|/
* core: maintain a single table with event source prioritiesLennart Poettering2024-01-191-3/+3
* core/cgroup: use designated initializer more, make dup source constMike Yuan2024-01-051-26/+31
* core: add an assert to guide static analysisLuca Boccassi2024-01-041-1/+1
* core: fix cgroup copyLuca Boccassi2024-01-041-1/+1
* core: fix OOM checkLuca Boccassi2024-01-041-1/+1
* Merge pull request #28797 from Werkov/eff_limitsYu Watanabe2024-01-031-0/+59
|\
| * cgroup: Restrict effective limits with global resource provisionMichal Koutný2024-01-031-0/+11
| * cgroup: Add EffectiveMemoryMax=, EffectiveMemoryHigh= and EffectiveTasksMax= ...Michal Koutný2024-01-031-0/+48
* | core/manager: add dbus API to create auxiliary scope from running serviceMichal Sekletar2024-01-031-0/+308
|/