Messages in this thread | | | Date | Fri, 13 Feb 2015 10:16:32 +0800 | From | Zefan Li <> | Subject | Re: 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.
| |