Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932476AbWHQNUH (ORCPT ); Thu, 17 Aug 2006 09:20:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932481AbWHQNUG (ORCPT ); Thu, 17 Aug 2006 09:20:06 -0400 Received: from mailhub.sw.ru ([195.214.233.200]:65038 "EHLO relay.sw.ru") by vger.kernel.org with ESMTP id S932476AbWHQNUF (ORCPT ); Thu, 17 Aug 2006 09:20:05 -0400 Message-ID: <44E46D5B.8080209@sw.ru> Date: Thu, 17 Aug 2006 17:21:31 +0400 From: "Pavel V. Emelianov" User-Agent: Thunderbird 1.5 (X11/20060317) MIME-Version: 1.0 To: vatsa@in.ibm.com, devel@openvz.org CC: Kirill Korotaev , Andrew Morton , Rik van Riel , ckrm-tech@lists.sourceforge.net, Andi Kleen , Linux Kernel Mailing List , Christoph Hellwig , Andrey Savochkin , Alan Cox , hugh@veritas.com, Ingo Molnar Subject: Re: [Devel] Re: [ckrm-tech] [RFC][PATCH 3/7] UBC: ub context and inheritance References: <44E33893.6020700@sw.ru> <44E33C04.50803@sw.ru> <20060817110952.GD19127@in.ibm.com> In-Reply-To: <20060817110952.GD19127@in.ibm.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 954 Lines: 25 Srivatsa Vaddagiri wrote: > On Wed, Aug 16, 2006 at 07:38:44PM +0400, Kirill Korotaev wrote: > >> Contains code responsible for setting UB on task, >> it's inheriting and setting host context in interrupts. >> >> Task references three beancounters: >> 1. exec_ub current context. all resources are >> charged to this beancounter. >> 2. task_ub beancounter to which task_struct is >> charged itself. >> 3. fork_sub beancounter which is inherited by >> task's children on fork >> > > Is there a case where exec_ub and fork_sub can differ? I dont see that > in the patch. > Look in context changing in interrupts - "set_exec_ub(&ub0);" is done there. - 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/