From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from d28relay02.in.ibm.com (d28relay02.in.ibm.com [9.184.220.59]) by e28esmtp04.in.ibm.com (8.13.1/8.13.1) with ESMTP id m2B9H3Nk011918 for ; Tue, 11 Mar 2008 14:47:03 +0530 Received: from d28av01.in.ibm.com (d28av01.in.ibm.com [9.184.220.63]) by d28relay02.in.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id m2B9H3vZ1150990 for ; Tue, 11 Mar 2008 14:47:03 +0530 Received: from d28av01.in.ibm.com (loopback [127.0.0.1]) by d28av01.in.ibm.com (8.13.1/8.13.3) with ESMTP id m2B9H9eP029876 for ; Tue, 11 Mar 2008 09:17:09 GMT Message-ID: <47D64E0A.3090907@linux.vnet.ibm.com> Date: Tue, 11 Mar 2008 14:46:58 +0530 From: Balbir Singh Reply-To: balbir@linux.vnet.ibm.com MIME-Version: 1.0 Subject: Re: [PATCH 2/2] Make res_counter hierarchical References: <47D16004.7050204@openvz.org> <20080308134514.434f38f4.kamezawa.hiroyu@jp.fujitsu.com> <47D63FBC.1010805@openvz.org> <6599ad830803110157u71fe6c3cse125d0202610413b@mail.gmail.com> <20080311181325.c0bf6b90.kamezawa.hiroyu@jp.fujitsu.com> <6599ad830803110211u1cb48874l30aa75d21dc2b23@mail.gmail.com> In-Reply-To: <6599ad830803110211u1cb48874l30aa75d21dc2b23@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Paul Menage Cc: KAMEZAWA Hiroyuki , Pavel Emelyanov , Daisuke Nishimura , Linux Containers , Linux MM List-ID: Paul Menage wrote: > On Tue, Mar 11, 2008 at 2:13 AM, KAMEZAWA Hiroyuki > wrote: >> or remove all relationship among counters of *different* type of resources. >> user-land-daemon will do enough jobs. >> > > Yes, that would be my preferred choice, if people agree that > hierarchically limiting overall virtual memory isn't useful. (I don't > think I have a use for it myself). > Virtual limits are very useful. I have a patch ready to send out. They limit the amount of paging a cgroup can do (virtual limit - RSS limit). Some times end users want to set virtual limit == RSS limit, so that the cgroup OOMs on cross the RSS limit. -- Warm Regards, Balbir Singh Linux Technology Center IBM, ISTL -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org