lkml.org 
[lkml]   [2008]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][1/3] Add user interface for virtual address space control (v2)
On Thu, 27 Mar 2008 00:20:06 +0530
Balbir Singh <balbir@linux.vnet.ibm.com> wrote:

>
>
> Add as_usage_in_bytes and as_limit_in_bytes interfaces. These provide
> control over the total address space that the processes combined together
> in the cgroup can grow upto. This functionality is analogous to
> the RLIMIT_AS function of the getrlimit(2) and setrlimit(2) calls.
> A as_res resource counter is added to the mem_cgroup structure. The
> as_res counter handles all the accounting associated with the virtual
> address space accounting and control of cgroups.
>
> Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>

I wonder that it's better to create "rlimit cgroup" rather than enhancing
memory controller. (But I have no strong opinion.)
How do you think ?

Thanks,
-Kame



\
 
 \ /
  Last update: 2008-03-27 10:13    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site