Skip to content

mm/mglru: fix underprotected page cache

Nico Pache requested to merge npache/centos-stream-9:RHEL-28667.post into main

Include the following fixes for mglru to prevent kdump from hanging on certain systems.

4376807bf2d5 mm/mglru: reclaim offlined memcgs harder
8aa420617918 mm/mglru: respect min_ttl_ms with memcgs
5095a2b23987 mm/mglru: try to stop at high watermarks
081488051d28 mm/mglru: fix underprotected page cache

mm/mglru: skip special VMAs in lru_gen_look_around():

  • Skipping special VMAs like VM_PFNMAP to avoid unnecessary lookaround operations.

mm/mglru: reclaim offlined memcgs harder:

  • Improving the pressure on offlined memcgs to reduce zombie memcgs.
  • Addressing memory-constrained system issues by better handling offlined memcgs.

mm/mglru: try to stop at high watermarks:

  • Adjusting reclaim behavior to stop at high watermarks, improving efficiency.
  • Preventing kswapd from overshooting on large systems.

mm/mglru: fix underprotected page cache:

  • Fixing underprotection of unmapped folios accessed through file descriptors.
  • Adjusting folio placement in LRU to improve response to refault surges.

mm: multi-gen LRU: reuse some legacy trace events:

  • Reusing legacy trace events for debugging in the multi-gen LRU subsystem.

mm: multi-gen LRU: improve design doc:

  • Updating the design documentation with additional sections for clarity.

mm: multi-gen LRU: clean up sysfs code:

  • Cleaning up the sysfs code for the multi-gen LRU subsystem for better readability and maintainability.

JIRA: https://issues.redhat.com/browse/RHEL-28667

Signed-off-by: Nico Pache npache@redhat.com

Merge request reports