Balbir Singh
f64c3f5494
memory controller: soft limit organize cgroups
...
Organize cgroups over soft limit in a RB-Tree
Introduce an RB-Tree for storing memory cgroups that are over their soft
limit. The overall goal is to
1. Add a memory cgroup to the RB-Tree when the soft limit is exceeded.
We are careful about updates, updates take place only after a particular
time interval has passed
2. We remove the node from the RB-Tree when the usage goes below the soft
limit
The next set of patches will exploit the RB-Tree to get the group that is
over its soft limit by the largest amount and reclaim from it, when we
face memory contention.
[hugh.dickins@tiscali.co.uk: CONFIG_CGROUP_MEM_RES_CTLR=y CONFIG_PREEMPT=y fails to boot]
Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Li Zefan <lizf@cn.fujitsu.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Cc: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-09-24 07:20:59 -07:00
..
2009-09-19 00:51:34 -03:00
2009-09-23 15:39:36 -07:00
2009-09-22 07:54:33 -07:00
2009-09-23 10:11:08 -07:00
2009-09-23 07:39:38 -07:00
2009-09-20 05:55:36 -07:00
2009-09-23 07:39:29 -07:00
2009-09-22 13:32:45 +01:00
2009-09-23 07:39:46 -07:00
2009-09-23 14:36:38 -04:00
2009-09-23 06:46:38 -07:00
2009-09-19 02:14:45 -04:00
2009-09-20 16:09:20 +05:30
2009-09-23 07:39:29 -07:00
2009-09-15 09:50:47 -07:00
2009-09-16 15:18:52 +02:00
2009-09-22 07:17:38 -07:00
2009-09-21 15:14:51 +02:00
2009-09-24 07:20:58 -07:00
2009-09-23 07:39:29 -07:00
2009-09-24 07:20:57 -07:00
2009-09-24 09:34:53 +09:30
2009-09-23 11:01:25 -07:00
2009-09-19 13:13:31 -07:00
2009-09-24 07:20:57 -07:00
2009-09-18 09:48:52 -07:00
2009-09-19 12:50:38 -07:00
2009-09-23 07:39:29 -07:00
2009-09-22 07:17:47 -07:00
2009-09-22 07:17:25 -07:00
2009-09-18 07:25:44 +02:00
2009-09-20 16:58:35 +05:30
2009-09-22 07:17:25 -07:00
2009-09-23 07:39:29 -07:00
2009-09-23 07:39:46 -07:00
2009-09-19 13:13:31 -07:00
2009-09-17 15:15:11 +02:00
2009-09-22 07:17:42 -07:00
2009-09-19 00:16:14 -03:00
2009-09-18 22:45:43 +02:00
2009-09-17 23:23:45 -07:00
2009-09-15 02:37:40 -07:00
2009-09-21 14:28:04 +02:00
2009-09-17 23:23:58 -07:00
2009-09-24 09:34:38 +09:30
2009-09-23 07:39:41 -07:00
2009-09-23 07:39:58 -07:00
2009-09-23 07:39:30 -07:00
2009-09-19 13:13:17 -07:00
2009-09-23 07:39:29 -07:00
2009-09-15 23:51:31 -04:00
2009-09-22 07:17:33 -07:00
2009-09-18 21:22:08 +02:00
2009-09-17 23:23:45 -07:00
2009-09-21 06:27:08 +02:00
2009-09-22 07:17:48 -07:00
2009-09-23 07:39:42 -07:00
2009-09-23 07:39:41 -07:00
2009-09-22 07:17:35 -07:00
2009-09-19 12:50:38 -07:00
2009-09-21 15:14:56 +02:00
2009-09-22 07:17:37 -07:00
2009-09-23 07:39:42 -07:00
2009-09-22 07:17:42 -07:00
2009-09-22 07:17:31 -07:00
2009-09-22 07:17:39 -07:00
2009-09-23 07:39:43 -07:00
2009-09-18 21:22:08 +02:00
2009-09-21 15:14:51 +02:00
2009-09-15 02:39:20 -07:00
2009-09-17 20:53:52 -07:00
2009-09-22 07:54:33 -07:00
2009-09-15 02:37:40 -07:00
2009-09-22 07:17:38 -07:00
2009-09-24 07:20:58 -07:00
2009-09-22 07:17:38 -07:00
2009-09-18 22:45:50 +02:00
2009-09-15 09:50:48 -07:00
2009-09-15 09:39:44 -07:00
2009-09-21 14:34:11 +02:00
2009-09-21 14:34:11 +02:00
2009-09-22 07:17:49 -07:00
2009-09-22 07:17:47 -07:00
2009-09-21 14:28:04 +02:00
2009-09-23 07:39:41 -07:00
2009-09-22 07:17:24 -07:00
2009-09-19 08:53:22 +02:00
2009-09-19 08:53:22 +02:00
2009-09-19 08:53:22 +02:00
2009-09-24 07:20:57 -07:00
2009-09-24 07:20:59 -07:00
2009-09-22 07:17:31 -07:00
2009-09-15 02:44:17 -07:00
2009-09-24 09:34:39 +09:30
2009-09-19 13:13:19 -07:00
2009-09-23 11:24:57 -07:00
2009-09-19 13:13:30 -07:00
2009-09-15 09:50:49 -07:00
2009-09-24 09:34:40 +09:30
2009-05-12 11:11:48 +02:00
2009-09-22 07:17:25 -07:00
2009-09-23 09:21:05 -07:00
2009-09-18 09:48:52 -07:00
2009-09-24 07:20:56 -07:00
2009-09-24 09:34:41 +09:30
2009-09-24 07:20:57 -07:00
2009-09-15 09:50:47 -07:00
2009-09-19 13:13:35 -07:00
2009-09-23 07:39:48 -07:00
2009-09-23 06:46:23 -07:00
2009-09-23 06:46:39 -07:00
2009-09-23 18:13:10 -07:00
2009-09-23 09:52:18 +10:00
2009-09-19 00:18:36 -03:00
2009-09-23 22:26:32 +09:30
2009-09-23 22:26:32 +09:30
2009-09-23 22:26:36 +09:30
2009-09-23 07:39:29 -07:00
2009-09-23 22:26:32 +09:30
2009-09-23 22:26:32 +09:30
2009-09-23 22:26:32 +09:30
2009-09-23 22:26:32 +09:30
2009-09-23 22:26:31 +09:30
2009-09-22 07:17:30 -07:00
2009-09-19 13:13:25 -07:00
2009-09-19 13:13:26 -07:00
2009-09-15 16:51:30 +02:00
2009-09-23 03:49:27 +04:00
2009-09-21 15:14:53 +02:00
2009-09-16 15:18:52 +02:00