On Thu, 11 Aug 2011 22:31:55 +0200
Johannes Weiner [off-list ref] wrote:
The nr_force_scan[] tuple holds the effective scan numbers for anon
and file pages in case the situation called for a forced scan and the
regularly calculated scan numbers turned out zero.
However, the effective scan number can always be assumed to be
SWAP_CLUSTER_MAX right before the division into anon and file. The
numerators and denominator are properly set up for all cases, be it
force scan for just file, just anon, or both, to do the right thing.
Signed-off-by: Johannes Weiner <redacted>
Cc: KAMEZAWA Hiroyuki <redacted>
Cc: Michal Hocko <redacted>
Cc: Ying Han <redacted>
Cc: Balbir Singh <bsingharora@gmail.com>
Cc: KOSAKI Motohiro <redacted>
Cc: Daisuke Nishimura <redacted>
Cc: Mel Gorman <redacted>
Acked-by: KAMEZAWA Hiroyuki <redacted>
--
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>