[systemd-devel] how to make systemd ignore the memory cgroup controller and hierarchy
Lennart Poettering
lennart at poettering.net
Thu May 10 15:05:43 UTC 2018
On Mi, 09.05.18 21:01, Simon McVittie (smcv at collabora.com) wrote:
> On Wed, 09 May 2018 at 16:46:09 +0000, john terragon wrote:
> > I have the memory cgroup controller configured in the kernel. I want to use it
> > myself directly without interference from systemd.
>
> I don't think this is supported. systemd behaves as though cgroups v2 is
> in use (single unified cgroup hierarchy) even if you are currently using
> cgroups v1 (one parallel hierarchy per controller).
Well, since on cgroupsv1 the hierachies are exposes in a mostly
independent way you should be able to get away with using them
directly if you make sure systemd will otherwise not use them.
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list