From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: [PATCHSET] cgroup: introduce cgroup_taskset and consolidate subsys methods, take#2 Date: Fri, 26 Aug 2011 00:43:06 +0200 Message-ID: <1314312192-26885-1-git-send-email-tj__40152.7436836206$1314312825$gmane$org@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: rjw@sisk.pl, paul@paulmenage.org, lizf@cn.fujitsu.com Cc: fweisbec@gmail.com, containers@lists.linux-foundation.org, linux-kernel@vger.kernel.org, linux-pm@lists.linux-foundation.org, kamezawa.hiroyu@jp.fujitsu.com List-Id: linux-pm@vger.kernel.org Hello, This is the second take of cgroup_taskset patchset. This patchset introduces cgroup_taskset along with some accessors and iterator, updates methods to use it, consolidates usages and drops superflous methods. For more info, please read the head message and discussions from the last take[L]. Changes from the last take[L] are mostly minor. * Acked-by's added * patch contamination fixed * local variable renamed * documentation updated It contains the following six patches. 0001-cgroup-subsys-attach_task-should-be-called-after-mig.patch 0002-cgroup-improve-old-cgroup-handling-in-cgroup_attach_.patch 0003-cgroup-introduce-cgroup_taskset-and-use-it-in-subsys.patch 0004-cgroup-don-t-use-subsys-can_attach_task-or-attach_ta.patch 0005-cgroup-cpuset-don-t-use-ss-pre_attach.patch 0006-cgroup-kill-subsys-can_attach_task-pre_attach-and-at.patch and is based on the current linux-pm/pm-freezer (7b5b95b3f5 "freezer: remove should_send_signal() and update frozen()"), and available in the following git tree. git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc.git freezer Any ideas on how to route these patches? If we float these in -mm, further freezer patches would have to be in -mm too which in turn will force job control patches depending on them to -mm too. It would be really nice if we can find a stable git branch to host these. Routing through pm-freezer might not be such a bad idea either, I think. Thank you. Documentation/cgroups/cgroups.txt | 51 +++------ block/blk-cgroup.c | 45 +++++--- include/linux/cgroup.h | 31 ++++- kernel/cgroup.c | 200 ++++++++++++++++++++++++-------------- kernel/cgroup_freezer.c | 16 --- kernel/cpuset.c | 105 +++++++++---------- kernel/events/core.c | 13 +- kernel/sched.c | 31 +++-- mm/memcontrol.c | 16 +-- security/device_cgroup.c | 7 - 10 files changed, 294 insertions(+), 221 deletions(-) -- tejun [L] http://thread.gmane.org/gmane.linux.kernel/1183130