Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750710AbWITXeR (ORCPT ); Wed, 20 Sep 2006 19:34:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750716AbWITXeR (ORCPT ); Wed, 20 Sep 2006 19:34:17 -0400 Received: from smtp-out.google.com ([216.239.45.12]:16679 "EHLO smtp-out.google.com") by vger.kernel.org with ESMTP id S1750710AbWITXeQ (ORCPT ); Wed, 20 Sep 2006 19:34:16 -0400 DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=received:subject:from:reply-to:to:cc:in-reply-to:references: content-type:organization:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=n24HWCNY1P0MPqA3y1g9J3H8filhG65ypRiBIpQrLtWSalfeAIf01YsnagxRUf1bA /eXLe54Kt42NR382Z4Gsg== Subject: Re: [patch00/05]: Containers(V2)- Introduction From: Rohit Seth Reply-To: rohitseth@google.com To: Christoph Lameter Cc: Paul Jackson , ckrm-tech@lists.sourceforge.net, devel@openvz.org, npiggin@suse.de, linux-kernel@vger.kernel.org In-Reply-To: References: <1158718568.29000.44.camel@galaxy.corp.google.com> <1158773208.8574.53.camel@galaxy.corp.google.com> <1158775678.8574.81.camel@galaxy.corp.google.com> <20060920155815.33b03991.pj@sgi.com> Content-Type: text/plain Organization: Google Inc Date: Wed, 20 Sep 2006 16:33:51 -0700 Message-Id: <1158795231.7207.21.camel@galaxy.corp.google.com> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 919 Lines: 23 On Wed, 2006-09-20 at 16:02 -0700, Christoph Lameter wrote: > On Wed, 20 Sep 2006, Paul Jackson wrote: > > > the kernel. A useful memory containerization should (IMHO) allow for > > both adding and removing such containers. > > How does the containers implementation under discussion behave if a > process is part of a container and the container is removed? > It first removes all the tasks belonging to this container (which means resetting the container pointers in task_struct and then per page container pointer belonging to anonymous pages). It then clears the container pointers in the mapping structure and also in the pages belonging to these files. -rohit - 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/