mbox series

[0/4] mm: Generalize putback functions

Message ID 154998432043.18704.10326447825287153712.stgit@localhost.localdomain (mailing list archive)
Headers show
Series mm: Generalize putback functions | expand

Message

Kirill Tkhai Feb. 12, 2019, 3:13 p.m. UTC
Functions putback_inactive_pages() and move_active_pages_to_lru()
are almost similar, so this patchset merges them in only function.

---

Kirill Tkhai (4):
      mm: Move recent_rotated pages calculation to shrink_inactive_list()
      mm: Move nr_deactivate accounting to shrink_active_list()
      mm: Remove pages_to_free argument of move_active_pages_to_lru()
      mm: Generalize putback scan functions


 include/linux/vmstat.h |    2 -
 mm/vmscan.c            |  150 ++++++++++++++++++------------------------------
 2 files changed, 57 insertions(+), 95 deletions(-)

--
Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>