Skip to content

mm/mglru: performance optimizations

Yu Zhao linux-mm lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest7 patches 6 repliesIn review 6 of 7 applied
  2. v36 patches 2 repliesSuperseded
  3. v26 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v16 patches0 repliesSuperseded

Patches in v4 6 of 7 applied

#Subject and filesSizeRepliesApplied
1/7mm/mglru: clean up workingsetmm/workingset.c+12 -130 repliesApplied
2/7mm/mglru: optimize deactivationmm/swap.c+41 -70 repliesApplied
3/7mm/mglru: rework aging feedbackinclude/linux/mmzone.h mm/vmscan.c+96 -1213 replies
4/7mm/mglru: rework type selectionmm/vmscan.c+26 -560 repliesApplied
5/7mm/mglru: rework refault detectionmm/workingset.c+9 -80 repliesApplied
6/7mm/mglru: rework workingset protectioninclude/linux/mm_inline.h include/linux/mmzone.h mm/swap.c +2 more+204 -1660 repliesApplied
7/7mm/mglru: fix PTE-mapped large foliosmm/vmscan.c+72 -380 repliesApplied

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by.

PatchKalesh Singh
1/7T-b
2/7T-b
3/7T-b
4/7T-b
5/7T-b
6/7T-b
7/7T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH mm-unstable v4 0/7] mm/mglru: performance optimizations

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.

In addition to the syzbot regressions fixed in v2 [3] and v3 [4], this version fixes two more regressions: one reported by Oliver Sang [5] and the other by Barry Song.

[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/[email protected]/
[4] https://lore.kernel.org/[email protected]/
[5] https://lore.kernel.org/[email protected]/

Yu Zhao (7):
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
mm/mglru: fix PTE-mapped large folios

 include/linux/mm_inline.h |  88 ++++---
 include/linux/mmzone.h    |  99 +++++---
 mm/swap.c                 |  70 ++++--
 mm/vmscan.c               | 515 +++++++++++++++++++-------------------
 mm/workingset.c           |  67 +++--
 5 files changed, 445 insertions(+), 394 deletions(-)
Signature · 1 line
2.47.1.613.gc27f4b7a9f-goog