Re: [PATCH v2 05/10] cpuset: re-structure update_cpumask() a bit
From: Tejun Heo
Date: Wed Jun 05 2013 - 16:57:33 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/