mbox series

[mm-unstable,v2,0/6] mm/mglru: performance optimizations

Message ID 20241206003126.1338283-1-yuzhao@google.com (mailing list archive)
Headers show
Series mm/mglru: performance optimizations | expand

Message

Yu Zhao Dec. 6, 2024, 12:31 a.m. UTC
This series improves performance for some previously reported test
cases. Most of the code changes gathered here has been floating on the
mailing list [1][2]. They are now properly organized and have gone
through various benchmarks on client and server devices, including
Android, FIO, memcached, multiple VMs and MongoDB.

This v2 mainly fixes a warning reported by syzbot [3].

[1] https://lore.kernel.org/CAOUHufahuWcKf5f1Sg3emnqX+cODuR=2TQo7T4Gr-QYLujn4RA@mail.gmail.com/
[2] https://lore.kernel.org/CAOUHufawNerxqLm7L9Yywp3HJFiYVrYO26ePUb1jH-qxNGWzyA@mail.gmail.com/
[3] https://lore.kernel.org/linux-mm/67294349.050a0220.701a.0010.GAE@google.com/

Yu Zhao (6):
  mm/mglru: clean up workingset
  mm/mglru: optimize deactivation
  mm/mglru: rework aging feedback
  mm/mglru: rework type selection
  mm/mglru: rework refault detection
  mm/mglru: rework workingset protection

 include/linux/mm_inline.h |  94 +++++----
 include/linux/mmzone.h    |  88 +++++---
 mm/swap.c                 |  65 ++++--
 mm/vmscan.c               | 423 +++++++++++++++++---------------------
 mm/workingset.c           |  67 +++---
 5 files changed, 372 insertions(+), 365 deletions(-)