Re: [PATCH 4/6] cgroup: use ->subtree_control when testing no internal process rule

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

 



On Thu, Jan 07, 2016 at 05:29:48PM -0500, Tejun Heo wrote:
> No internal process rule is enforced by cgroup_migrate_prepare_dst()
> during process migration.  It tests whether the target cgroup's
> ->child_subsys_mask is zero which is different from "subtree_control"
> write path which tests ->subtree_control.  This hasn't mattered
> because up until now, both ->child_subsys_mask and ->subtree_control
> are zero or non-zero at the same time.  However, with the planned
> addition of implicit controllers, this will no longer be true.
> 
> This patch prepares for the change by making
> cgorup_migrate_prepare_dst() test ->subtree_control instead.
> 
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>

Applying 1-4 to cgroup/for-4.6.  Will post refreshed version of
perf_event update soon.

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