I'm specifically wondering if it's safe to use cgroup_mask in slices
to aggregate the masks of their children. If not, it's trivial to add
another item to the struct (like cgroup_mask_children) to use for
aggregation.
___
systemd-devel mailing list
system
This may need a few tweaks, most notably the extraneous log items. Is
this a decent approach, though, to caching cgroup mask data?
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-dev
From: David Strauss
---
src/core/cgroup.c | 20 +++-
src/core/cgroup.h | 2 ++
src/core/unit.c | 2 ++
3 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/src/core/cgroup.c b/src/core/cgroup.c
index 6a6c504..b75ab55 100644
--- a/src/core/cgroup.c
+++ b/src/core/cgr