On Wed, Jun 05, 2013 at 05:15:59PM +0800, Li Zefan wrote: > Check if cpus_allowed is to be changed before calling validate_change(). > > This won't change any behavior, but later it will allow us to do this: > > # mkdir /cpuset/child > # echo $$ > /cpuset/child/tasks /* empty cpuset */ > # echo > /cpuset/child/cpuset.cpus /* do nothing, won't fail */ > > Without this patch, the last operation will fail. > > Signed-off-by: Li Zefan <lizefan@xxxxxxxxxx> Applied 1-5 to cgroup/for-3.11-cpuset. git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-3.11-cpuset Thanks. -- tejun _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/containers