chiark / gitweb /
cgroup: get rid of MemorySoftLimit=
[elogind.git] / src / core / cgroup.h
index 96f1d9f7b6217a1601a29996884b14ff98a22145..0a079e909d16c9f60d1c9b9a1635ae4e8328cbb8 100644 (file)
@@ -77,7 +77,6 @@ struct CGroupContext {
         LIST_HEAD(CGroupBlockIODeviceBandwidth, blockio_device_bandwidths);
 
         uint64_t memory_limit;
-        uint64_t memory_soft_limit;
 
         CGroupDevicePolicy device_policy;
         LIST_HEAD(CGroupDeviceAllow, device_allow);
@@ -97,7 +96,7 @@ void cgroup_context_free_device_allow(CGroupContext *c, CGroupDeviceAllow *a);
 void cgroup_context_free_blockio_device_weight(CGroupContext *c, CGroupBlockIODeviceWeight *w);
 void cgroup_context_free_blockio_device_bandwidth(CGroupContext *c, CGroupBlockIODeviceBandwidth *b);
 
-void unit_realize_cgroup(Unit *u);
+int unit_realize_cgroup(Unit *u);
 void unit_destroy_cgroup(Unit *u);
 
 int manager_setup_cgroup(Manager *m);