From mboxrd@z Thu Jan 1 00:00:00 1970 From: Balbir Singh Subject: Re: [PATCH 2/2] Make res_counter hierarchical Date: Tue, 11 Mar 2008 14:46:58 +0530 Message-ID: <47D64E0A.3090907@linux.vnet.ibm.com> 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> Reply-To: balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <6599ad830803110211u1cb48874l30aa75d21dc2b23-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Paul Menage Cc: Linux Containers , Linux MM , Pavel Emelyanov List-Id: containers.vger.kernel.org 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