Files
kernel_arpi/include/linux
KOSAKI Motohiro c772be939e memcg: fix calculation of active_ratio
Currently, inactive_ratio of memcg is calculated at setting limit.
because page_alloc.c does so and current implementation is straightforward
porting.

However, memcg introduced hierarchy feature recently.  In hierarchy
restriction, memory limit is not only decided memory.limit_in_bytes of
current cgroup, but also parent limit and sibling memory usage.

Then, The optimal inactive_ratio is changed frequently.  So, everytime
calculation is better.

Tested-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Balbir Singh <balbir@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-01-08 08:31:09 -08:00
..
2009-01-07 17:38:32 -05:00
2009-01-06 15:59:29 -08:00
2009-01-08 08:31:03 -08:00
2009-01-06 15:59:01 -08:00
2009-01-07 14:29:17 +01:00
2009-01-08 08:31:00 -08:00
2009-01-06 15:58:58 -08:00
2009-01-08 08:31:07 -08:00
2009-01-07 17:38:31 -05:00
2009-01-08 08:31:05 -08:00
2009-01-06 10:44:30 -08:00
2009-01-06 15:59:12 -08:00
2009-01-07 09:58:22 +11:00
2009-01-08 08:31:08 -08:00
2009-01-07 10:00:14 -08:00
2009-01-06 15:59:09 -08:00