Qi Wang eeefdf3ce8 Fix # of unpurged pages in decay algorithm.
When # of dirty pages move below npages_limit (e.g. they are reused), we should
not lower number of unpurged pages because that would cause the reused pages to
be double counted in the backlog (as a result, decay happen slower than it
should).  Instead, set number of unpurged to the greater of current npages and
npages_limit.

Added an assertion: the ceiling # of pages should be greater than npages_limit.
2017-05-23 13:48:30 -07:00
..
2017-03-06 15:08:43 -08:00
2017-03-06 15:08:43 -08:00
2017-05-11 18:06:20 -07:00
2017-05-23 12:26:20 -07:00
2017-05-23 12:26:20 -07:00
2017-03-07 10:25:33 -08:00
2017-04-24 11:48:28 -07:00
2017-05-18 10:04:28 -07:00
2017-04-24 15:02:45 -07:00