From: Yu Watanabe Date: Tue, 14 Sep 2021 05:11:08 +0000 (+0900) Subject: core/cgroup: set bitfield to reduce struct size X-Git-Tag: v250-rc1~682^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=60da07ecc7bb318d217810778e430399ab9a2ec7;p=thirdparty%2Fsystemd.git core/cgroup: set bitfield to reduce struct size --- diff --git a/src/core/cgroup.h b/src/core/cgroup.h index 99bf7e22d8f..5b55dd7121b 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);