[-mm][PATCH 1/4] Setup the rlimit controller

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-mm@...>
Cc: Sudhir Kumar <skumar@...>, YAMAMOTO Takashi <yamamoto@...>, Paul Menage <menage@...>, <lizf@...>, <linux-kernel@...>, David Rientjes <rientjes@...>, Pavel Emelianov <xemul@...>, Balbir Singh <balbir@...>, Andrew Morton <akpm@...>, KAMEZAWA Hiroyuki <kamezawa.hiroyu@...>
Date: Saturday, May 3, 2008 - 5:37 pm

This patch sets up the rlimit cgroup controller. It adds the basic create,
destroy and populate functionality. The user interface provided is very
similar to the memory resource controller. The rlimit controller can be
enhanced easily in the future to control mlocked pages.

Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>
---

 include/linux/cgroup_subsys.h |    4 +
 include/linux/rlimitcgroup.h  |   19 +++++
 init/Kconfig                  |   10 ++
 mm/Makefile                   |    1 
 mm/rlimitcgroup.c             |  141 ++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 175 insertions(+)

diff -puN /dev/null mm/rlimitcgroup.c
--- /dev/null	2008-05-03 22:12:13.033285313 +0530
+++ linux-2.6.25-balbir/mm/rlimitcgroup.c	2008-05-04 02:52:51.000000000 +0530
@@ -0,0 +1,141 @@
+/*
+ * Copyright
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[-mm][PATCH 0/4] Add rlimit controller to cgroups (v3), Balbir Singh, (Sat May 3, 5:37 pm)
Re: [-mm][PATCH 0/4] Add rlimit controller to cgroups (v3), KAMEZAWA Hiroyuki, (Tue May 6, 9:09 pm)
[-mm][PATCH 4/4] Add rlimit controller documentation, Balbir Singh, (Sat May 3, 5:38 pm)
[-mm][PATCH 1/4] Setup the rlimit controller, Balbir Singh, (Sat May 3, 5:37 pm)
Re: [-mm][PATCH 1/4] Setup the rlimit controller, Li Zefan, (Mon May 5, 9:31 pm)
Re: [-mm][PATCH 1/4] Setup the rlimit controller, Balbir Singh, (Tue May 6, 4:15 am)
Re: [-mm][PATCH 1/4] Setup the rlimit controller, Andrew Morton, (Mon May 5, 6:11 pm)
Re: [-mm][PATCH 1/4] Setup the rlimit controller, Balbir Singh, (Mon May 5, 11:40 pm)