Andrew Morton wrote:I can go over the use cases and some of the motivation 0. Provide the basic infrastructure for rlimit control for cgroups (mlock comes to mind right away) 1. Similar to the goals of over commit accounting (although not that granular), we would like to be able to decide on a per cgroup node, how much to overcommit the system by 2. With the memory controller in place, a cgroup that exceeds it's limit is sent to the reclaimer. We swap out pages or OOM the heaviest task in the cgroup. The swap controller will help, but we want a gentler way of saying "No more virtual RSS+swap space is available", so I am failing this allocation. The application can then decide if it can free up some memory now or if it has to fail. As far as real examples are concerned, I was told (via private communication - discussion), by a user that scientific jobs can sometimes cause a havoc on shared systems. They don't have control over how much virtual memory the set of jobs consume. They would ideally like to be able to provide feedback to the application about the maximum RSS + Swap that it can consume (case 1). With a memrlimit address space controller in place, a failed allocation would tell the jobs to use lesser memory (and potentially take longer) to finish the job, instead of causing large amounts of swapping or OOM on the system. -- Warm Regards, Balbir Singh Linux Technology Center IBM, ISTL --
| Zach Brown | [PATCH 3 of 4] Teach paths to wake a specific void * target instead of a whole tas... |
| Linus Torvalds | Re: LSM conversion to static interface |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Andrew Morton | -mm merge plans for 2.6.23 |
git: | |
| Gregory Haskins | [RFC PATCH 00/17] virtual-bus |
| David Miller | [GIT]: Networking |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
