diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-09-14 14:11:08 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-09-14 20:30:09 +0900 |
commit | 60da07ecc7bb318d217810778e430399ab9a2ec7 (patch) | |
tree | ff0caa3ad1fda3764ed792c9c72cce2441490ea8 /src | |
parent | 0856e78df05c289fd1abe488f52d0f4eb22c410c (diff) | |
download | systemd-60da07ecc7bb318d217810778e430399ab9a2ec7.tar.gz |
core/cgroup: set bitfield to reduce struct size
Diffstat (limited to 'src')
-rw-r--r-- | src/core/cgroup.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/cgroup.h b/src/core/cgroup.h index 99bf7e22d8..5b55dd7121 100644 --- a/src/core/cgroup.h +++ b/src/core/cgroup.h @@ -148,10 +148,10 @@ struct CGroupContext { uint64_t memory_max; uint64_t memory_swap_max; - bool default_memory_min_set; - bool default_memory_low_set; - bool memory_min_set; - bool memory_low_set; + bool default_memory_min_set:1; + bool default_memory_low_set:1; + bool memory_min_set:1; + bool memory_low_set:1; LIST_HEAD(IPAddressAccessItem, ip_address_allow); LIST_HEAD(IPAddressAccessItem, ip_address_deny); |