Revert "mm, vmscan: account for skipped pages as a partial scan"
authorJohannes Weiner <[email protected]>
Wed, 3 May 2017 21:52:13 +0000 (14:52 -0700)
committerLinus Torvalds <[email protected]>
Wed, 3 May 2017 22:52:08 +0000 (15:52 -0700)
commit3db65812d68883d1acfd20a9f2bc2cd13a7cd5c5
tree759aa3170445d5c5fce8c469098853c3a2d470fb
parentc822f6223d03c2c5b026a21da09c6b6d523258cd
Revert "mm, vmscan: account for skipped pages as a partial scan"

This reverts commit d7f05528eedb047efe2288cff777676b028747b6.

Now that reclaimability of a node is no longer based on the ratio
between pages scanned and theoretically reclaimable pages, we can remove
accounting tricks for pages skipped due to zone constraints.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Johannes Weiner <[email protected]>
Acked-by: Hillf Danton <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Cc: Jia He <[email protected]>
Cc: Mel Gorman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/vmscan.c