summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-09-14 14:11:08 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-09-14 20:30:09 +0900
commit60da07ecc7bb318d217810778e430399ab9a2ec7 (patch)
treeff0caa3ad1fda3764ed792c9c72cce2441490ea8 /src
parent0856e78df05c289fd1abe488f52d0f4eb22c410c (diff)
downloadsystemd-60da07ecc7bb318d217810778e430399ab9a2ec7.tar.gz
core/cgroup: set bitfield to reduce struct size
Diffstat (limited to 'src')
-rw-r--r--src/core/cgroup.h8
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);