[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160223145951.GU3965@htj.duckdns.org>
Date: Tue, 23 Feb 2016 09:59:51 -0500
From: Tejun Heo <tj@...nel.org>
To: lizefan@...wei.com, hannes@...xchg.org, a.p.zijlstra@...llo.nl,
mingo@...hat.com, acme@...nel.org
Cc: linux-kernel@...r.kernel.org, cgroups@...r.kernel.org,
kernel-team@...com
Subject: Re: [PATCH 4/6] cgroup: use ->subtree_control when testing no
internal process rule
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@...nel.org>
Applying 1-4 to cgroup/for-4.6. Will post refreshed version of
perf_event update soon.
Thanks.
--
tejun
Powered by blists - more mailing lists