lkml.org 
[lkml]   [2015]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: cpusets in non-unified hierarchy broken?
On 2015/2/13 5:49, Serge Hallyn wrote:
> Hi,
>
> as of some point in 3.18, cpuset.cpus doesn't seem to be
> enforced any more. I don't see an obvious reason in the
> code, but it seems likely to be related to the effective_cpus.
>
> If I mount -t cgroup -o cpuset cpuset /mnt and then mkdir /mnt/lxc,
> then /mnt/lxc has:
>
> ====================================================
> ubuntu@cpuset1:~$ cat /mnt/lxc/cpuset.effective_cpus
>
> ubuntu@cpuset1:~$ cat /mnt/lxc/cpuset.cpus
> 0-3

This happens when you enable cgroup.clone_children.

Thanks for reporting this bug! Will fix it soon.



\
 
 \ /
  Last update: 2015-02-13 03:41    [W:0.037 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site