mbox series

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

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

Message

Yu Zhao Dec. 2, 2024, 3:28 a.m. UTC
This series improves performance for some previously discussed 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 both client and server devices,
including Android, FIO, memcached, multiple VMs and MongoDB.

[1] https://lore.kernel.org/CAOUHufahuWcKf5f1Sg3emnqX+cODuR=2TQo7T4Gr-QYLujn4RA@mail.gmail.com/
[2] https://lore.kernel.org/CAOUHufawNerxqLm7L9Yywp3HJFiYVrYO26ePUb1jH-qxNGWzyA@mail.gmail.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           |  69 +++----
 5 files changed, 374 insertions(+), 365 deletions(-)