Re: [patch 5/7] mm: vmscan: clean up get_scan_count()

2012-12-20 Thread Johannes Weiner
On Wed, Dec 19, 2012 at 04:08:05PM -0800, Andrew Morton wrote: > On Mon, 17 Dec 2012 13:12:35 -0500 > Johannes Weiner wrote: > > > Reclaim pressure balance between anon and file pages is calculated > > through a tuple of numerators and a shared denominator. > > > > Exceptional cases that want to

Re: [patch 5/7] mm: vmscan: clean up get_scan_count()

2012-12-19 Thread Andrew Morton
On Mon, 17 Dec 2012 13:12:35 -0500 Johannes Weiner wrote: > Reclaim pressure balance between anon and file pages is calculated > through a tuple of numerators and a shared denominator. > > Exceptional cases that want to force-scan anon or file pages configure > the numerators and denominator suc

[patch 5/7] mm: vmscan: clean up get_scan_count()

2012-12-17 Thread Johannes Weiner
Reclaim pressure balance between anon and file pages is calculated through a tuple of numerators and a shared denominator. Exceptional cases that want to force-scan anon or file pages configure the numerators and denominator such that one list is preferred, which is not necessarily the most obviou