From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753385AbcBWO7z (ORCPT ); Tue, 23 Feb 2016 09:59:55 -0500 Received: from mail-qg0-f48.google.com ([209.85.192.48]:34407 "EHLO mail-qg0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751059AbcBWO7x (ORCPT ); Tue, 23 Feb 2016 09:59:53 -0500 Date: Tue, 23 Feb 2016 09:59:51 -0500 From: Tejun Heo To: lizefan@huawei.com, hannes@cmpxchg.org, a.p.zijlstra@chello.nl, mingo@redhat.com, acme@kernel.org Cc: linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, kernel-team@fb.com Subject: Re: [PATCH 4/6] cgroup: use ->subtree_control when testing no internal process rule Message-ID: <20160223145951.GU3965@htj.duckdns.org> References: <1452205790-21331-1-git-send-email-tj@kernel.org> <1452205790-21331-5-git-send-email-tj@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1452205790-21331-5-git-send-email-tj@kernel.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Applying 1-4 to cgroup/for-4.6. Will post refreshed version of perf_event update soon. Thanks. -- tejun