Most of the logic here is in the documentation file. Please take
a look at it.
I know we've come full-circle here back to a tunable, but this
new one is *WAY* simpler. I challenge anyone to describe in one
sentence how the old one worked. Here's the way the new one
If we are flushing more pages than the ceiling, we use
the full flush, otherwise we use per-page flushes.
Signed-off-by: Dave Hansen <firstname.lastname@example.org>
Acked-by: Rik van Riel <email@example.com>
Acked-by: Mel Gorman <firstname.lastname@example.org>
Signed-off-by: H. Peter Anvin <email@example.com>