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

Lennart Poettering lennart at poettering.net
Tue Sep 17 07:31:57 PDT 2013


On Mon, 16.09.13 09:57, Gao feng (gaofeng at cn.fujitsu.com) wrote:

> 
> On 09/13/2013 08:26 PM, Lennart Poettering wrote:
> > On Fri, 13.09.13 17:49, Gao feng (gaofeng at cn.fujitsu.com) wrote:
> > 
> >> Some programs need to set the memory.use_hierarchy(such as libvirt),
> >> Add this feature.
> > 
> > Hmm, should this really be an option? Shouldn't we much rather turn this
> > on unconditionally if the memory controller is used for a unit?
> > 
> > This appears like an option that would go a way in Tejun's new sane
> > cgroup tree logic anyway, no?
> > 
> 
> So, systemd has no job to deal with memory hierarchy? the kernel will
> support memory hierarchy unconditionally? right?

Hmm? What I was suggesting is that memory.use_hierarchy should be the
default for systemd, and not configurable by the user, under the
assumption that with Tejun's sane_behaviour thing this would become the
default anyway?

Tejun?

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list