Re: [RFC][PATCH] cgroup: disallow subtree controller enable/disable while there are tasks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 cgroups" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux