]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Without swap, anonymous pages are not scanned. As such, they should not
authorJohannes Weiner <jweiner@redhat.com>
Wed, 24 Aug 2011 23:46:52 +0000 (09:46 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 5 Sep 2011 07:02:19 +0000 (17:02 +1000)
commit02ee56a8a0a3322ce1bbe62a42dcb998192a354f
tree1bfd40c12a2df941779f0b88031f671e81fd2403
parenta2ebdf710070c9c06537e518cd093a1f6a99aed2
Without swap, anonymous pages are not scanned.  As such, they should not
count when considering force-scanning a small target if there is no swap.

Otherwise, targets are not force-scanned even when their effective scan
number is zero and the other conditions--kswapd/memcg--apply.

Signed-off-by: Johannes Weiner <jweiner@redhat.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Reviewed-by: Michal Hocko <mhocko@suse.cz>
Cc: Ying Han <yinghan@google.com>
Cc: Balbir Singh <bsingharora@gmail.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
Acked-by: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/vmscan.c