diff options
author | wineway <wangyuweihx@gmail.com> | 2022-08-06 13:14:44 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2022-08-11 14:25:58 +0200 |
commit | c8340822cfe269121e638c1e44d2ba5b8fe70b03 (patch) | |
tree | 101b1d665d9583220760c5a0e632b885d7ef3468 /src/shared/cgroup-setup.h | |
parent | Merge pull request #24260 from systemd/coverity-update (diff) | |
download | systemd-c8340822cfe269121e638c1e44d2ba5b8fe70b03.tar.xz systemd-c8340822cfe269121e638c1e44d2ba5b8fe70b03.zip |
core/cgroup: CPUWeight/CPUShares support idle input
Signed-off-by: wineway <wangyuweihx@gmail.com>
Diffstat (limited to 'src/shared/cgroup-setup.h')
-rw-r--r-- | src/shared/cgroup-setup.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/cgroup-setup.h b/src/shared/cgroup-setup.h index 7eabce2451..95a515339d 100644 --- a/src/shared/cgroup-setup.h +++ b/src/shared/cgroup-setup.h @@ -12,6 +12,7 @@ bool cg_is_legacy_wanted(void); bool cg_is_hybrid_wanted(void); int cg_weight_parse(const char *s, uint64_t *ret); +int cg_cpu_weight_parse(const char *s, uint64_t *ret); int cg_cpu_shares_parse(const char *s, uint64_t *ret); int cg_blkio_weight_parse(const char *s, uint64_t *ret); |