Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758823Ab2EPGTN (ORCPT ); Wed, 16 May 2012 02:19:13 -0400 Received: from mx2.parallels.com ([64.131.90.16]:46515 "EHLO mx2.parallels.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757467Ab2EPGTK (ORCPT ); Wed, 16 May 2012 02:19:10 -0400 Message-ID: <4FB34653.7060807@parallels.com> Date: Wed, 16 May 2012 10:16:51 +0400 From: Glauber Costa User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1 MIME-Version: 1.0 To: KAMEZAWA Hiroyuki CC: , , , Tejun Heo , Li Zefan , Greg Thelen , Suleiman Souhlal , Michal Hocko , Johannes Weiner , , Frederic Weisbecker , Li Zefan , Aditya Kali , Oleg Nesterov , Kay Sievers , Tim Hockin , Tejun Heo , Andrew Morton Subject: Re: [PATCH v2 11/29] cgroups: ability to stop res charge propagation on bounded ancestor References: <1336758272-24284-1-git-send-email-glommer@parallels.com> <1336758272-24284-12-git-send-email-glommer@parallels.com> <4FB1C6A1.1020602@jp.fujitsu.com> In-Reply-To: <4FB1C6A1.1020602@jp.fujitsu.com> Content-Type: text/plain; charset="ISO-2022-JP" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1831 Lines: 46 On 05/15/2012 06:59 AM, KAMEZAWA Hiroyuki wrote: > (2012/05/12 2:44), Glauber Costa wrote: > >> From: Frederic Weisbecker >> >> Moving a task from a cgroup to another may require to substract its >> resource charge from the old cgroup and add it to the new one. >> >> For this to happen, the uncharge/charge propagation can just stop when we >> reach the common ancestor for the two cgroups. Further the performance >> reasons, we also want to avoid to temporarily overload the common >> ancestors with a non-accurate resource counter usage if we charge first >> the new cgroup and uncharge the old one thereafter. This is going to be a >> requirement for the coming max number of task subsystem. >> >> To solve this, provide a pair of new API that can charge/uncharge a >> resource counter until we reach a given ancestor. >> >> Signed-off-by: Frederic Weisbecker >> Acked-by: Paul Menage >> Acked-by: Glauber Costa >> Cc: Li Zefan >> Cc: Johannes Weiner >> Cc: Aditya Kali >> Cc: Oleg Nesterov >> Cc: Kay Sievers >> Cc: Tim Hockin >> Cc: Tejun Heo >> Acked-by: Kirill A. Shutemov >> Signed-off-by: Andrew Morton > > > Where is this function called in this series ? > > Thanks, > -Kame > It is not... anymore! But I forgot the patch among the "pre-requisite" patches I had. Thanks, this can be dropped. -- 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/