Re: [patch 1/2] mm: vmscan: fix force-scanning small targets without swap
From: Michal Hocko <hidden>
Date: 2011-08-12 13:13:19
Also in:
lkml
From: Michal Hocko <hidden>
Date: 2011-08-12 13:13:19
Also in:
lkml
On Fri 12-08-11 15:10:42, Michal Hocko wrote:
On Thu 11-08-11 22:31:54, Johannes Weiner wrote:quoted
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 <redacted>We are calculating nr_force_scan even if it is not needed but this shouldn't hurt.
Ahh and the second patch removes that calculation. Sorry for noise.
Reviewed-by: Michal Hocko <redacted>
-- Michal Hocko SUSE Labs SUSE LINUX s.r.o. Lihovarska 1060/12 190 00 Praha 9 Czech Republic -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>