lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <54DD5E80.4090402@huawei.com>
Date:	Fri, 13 Feb 2015 10:16:32 +0800
From:	Zefan Li <lizefan@...wei.com>
To:	Serge Hallyn <serge.hallyn@...ntu.com>
CC:	<linux-kernel@...r.kernel.org>, <tj@...nel.org>,
	Stéphane Graber 
	<stgraber@...ntu.com>, <christianvanbrauner@...il.com>
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@...set1:~$ cat /mnt/lxc/cpuset.effective_cpus
> 
> ubuntu@...set1:~$ cat /mnt/lxc/cpuset.cpus
> 0-3

This happens when you enable cgroup.clone_children.

Thanks for reporting this bug! Will fix it soon.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ