]> git.baikalelectronics.ru Git - kernel.git/commit
memcg: soft limit reclaim should end at limit not below
authorJohannes Weiner <hannes@cmpxchg.org>
Wed, 23 Mar 2011 23:42:20 +0000 (16:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Mar 2011 02:46:23 +0000 (19:46 -0700)
commit4765ca5b70ac43cc4f401d0f7e9db308c8e1f729
treed160acb871f2be4e0e7095c662b647e12a199dac
parentae6a033aa7c7c6255169d61cef8318c30acf8194
memcg: soft limit reclaim should end at limit not below

Soft limit reclaim continues until the usage is below the current soft
limit, but the documented semantics are actually that soft limit reclaim
will push usage back until the soft limits are met again.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com>
Cc: Minchan Kim <minchan.kim@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/res_counter.h
mm/memcontrol.c