Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756061Ab1BKNMt (ORCPT ); Fri, 11 Feb 2011 08:12:49 -0500 Received: from casper.infradead.org ([85.118.1.10]:41731 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753065Ab1BKNMs (ORCPT ); Fri, 11 Feb 2011 08:12:48 -0500 Subject: Re: [RFC][PATCH] cgroup: Fix cgroup_subsys::exit callback From: Peter Zijlstra To: Li Zefan Cc: Paul Menage , balbir@linux.vnet.ibm.com, eranian@google.com, linux-kernel@vger.kernel.org, mingo@elte.hu, paulus@samba.org, davem@davemloft.net, fweisbec@gmail.com, perfmon2-devel@lists.sf.net, eranian@gmail.com, robert.richter@amd.com, acme@redhat.com In-Reply-To: <4D5347C9.2030909@cn.fujitsu.com> References: <4d384700.2308e30a.70bc.ffffd532@mx.google.com> <1295534345.28776.175.camel@laptop> <1296646160.26581.315.camel@laptop> <20110202115012.GA16409@balbir.in.ibm.com> <1296650792.26581.319.camel@laptop> <20110202190251.GB16409@balbir.in.ibm.com> <1297095033.13327.46.camel@laptop> <1297108959.13327.54.camel@laptop> <1297160655.13327.92.camel@laptop> <4D5347C9.2030909@cn.fujitsu.com> Content-Type: text/plain; charset="UTF-8" Date: Fri, 11 Feb 2011 13:13:39 +0100 Message-ID: <1297426419.5226.39.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 549 Lines: 14 On Thu, 2011-02-10 at 10:04 +0800, Li Zefan wrote: > Since both sched and perf won't use the 2 args @cgrp and @old_cgrp, > don't bother to change the ->exit interface? symmetry with ->attach, both sched and perf use a common method to implement attach and exit, if one needs it the other would too. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/