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: <20150504161500.GC1971@htj.duckdns.org>
Date:	Mon, 4 May 2015 12:15:00 -0400
From:	Tejun Heo <tj@...nel.org>
To:	Zefan Li <lizefan@...wei.com>
Cc:	Mike Galbraith <umgwanakikbuti@...il.com>,
	LKML <linux-kernel@...r.kernel.org>,
	Cgroups <cgroups@...r.kernel.org>
Subject: Re: [RFC][PATCH] cgroup: disallow subtree controller enable/disable
 while there are tasks

On Mon, May 04, 2015 at 06:11:29PM +0800, Zefan Li wrote:
> It's not safe if we enable/disable some controllers while there are
> tasks in the substree, because task migration can fail.
> 
> For example rt bandwidth controller disallow having rt tasks in the
> cgroup if no bandwidth has been allocated, which is the case when
> a cgroup is just created.
> 
> A kernel warning is triggered immediately by doing:

Well, the whole thing is behind the devel flag for a reason.  Let's
see how we can resolve the RT case and then determine what to do.

Thanks.

-- 
tejun
--
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