Re: [patch 1/2] mm: vmscan: fix force-scanning small targets without swap

KAMEZAWA Hiroyuki
2011-08-17T01:19:34Z

On Thu, 11 Aug 2011 22:31:54 +0200
Johannes Weiner <jweiner@redhat.com> wrote:

> 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>
> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
> Cc: 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>
> Cc: Mel Gorman <mel@csn.ul.ie>

Thanks,
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>