[systemd-devel] regarding to cgroup siblings mask

WaLyong Cho walyong.cho at gmail.com
Fri Mar 27 19:56:21 PDT 2015


On 03/28/2015 09:25 AM, David Timothy Strauss wrote:
> On Thu, Mar 26, 2015 at 7:33 PM, WaLyong Cho <walyong.cho at samsung.com> wrote:
>> Thanks, understood. But I think this propagation is needed only for
>> taking weight argument such like CPUShares=weight,
>> StartupCPUShares=weight, BlockIOWeight=weight,
>> StartupBlockIOWeight=weight, BlockIODeviceWeight=device weight. For
>> example, I don't think MemoryLimit= is not option of proportional. It
>> just only limit of its cgroup and does not race with other cgroup.
>>
>> If I'm right, we need to modify unit_get_target_mask() to get only mask
>> for proportional properties.
>
> I'm pretty sure we already do that. If not, it's a bug.

Hmm, it seems not. When I added MemoryLimit= option to just one service, 
cgroups for every unit were generated on memory cgroup.

> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>


More information about the systemd-devel mailing list