[systemd-devel] [PATCH v2 1/4] cgroup: add the setting memory.use_hierarchy support for systemd

Lennart Poettering lennart at poettering.net
Tue Sep 24 17:24:13 PDT 2013


On Tue, 24.09.13 08:42, Gao feng (gaofeng at cn.fujitsu.com) wrote:

> 
> On 09/24/2013 08:36 AM, Gao feng wrote:
> > On 09/24/2013 05:06 AM, Lennart Poettering wrote:
> >> On Mon, 23.09.13 14:30, Gao feng (gaofeng at cn.fujitsu.com) wrote:
> >>
> >>> Some programs need to set the memory.use_hierarchy(such as libvirt),
> >>> Add this feature.
> >>
> >> As mentioned already: this really shouldn't be configurable but simply
> >> the unconditional configuration that systemd requires. I have hence now
> >> commited a different patch that strictly enables this option at
> >> boot-time in the root memory hierarchy and does not turn this into yet
> >> another user config switch.
> > 
> > So administrator has no rights to set use_hierarchy to false?
> 
> If so, there is no need for kernel to export this file to user space.

Yes, that's why Tejun and friends are working on getting rid of it in
the kernel, too.


Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list