]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitb7c6167848fa36e32f1874b95c1edc02881cd040
treed160acb871f2be4e0e7095c662b647e12a199dac
parent56039efa18f2530fc23e8ef19e716b65ee2a1d1e
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