core/cgroup: set bitfield to reduce struct size

This commit is contained in:
Yu Watanabe
2021-09-14 20:30:09 +09:00
parent 0856e78df0
commit 60da07ecc7
+4 -4
View File
@@ -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);