vmscan: simplify code
authorHuang Shijie <shijie8@gmail.com>
Tue, 15 Dec 2009 01:59:48 +0000 (17:59 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Dec 2009 16:53:21 +0000 (08:53 -0800)
commit62c0c2f198c1f2ead05c961e83ef486c45888325
treed880a44df34d3cd14318efd1d5bee186a03cc841
parentb39415b2731d7dec5e612d2d12595da82399eedf
vmscan: simplify code

Simplify the code for shrink_inactive_list().

Signed-off-by: Huang Shijie <shijie8@gmail.com>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Reviewed-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmscan.c