Overview
Explore the intricacies of memory reclaim in the current upstream Linux kernel through this comprehensive conference talk. Delve into the fundamentals of memory reclaim, its various types, and the process of capturing all pages. Examine the state diagram and understand the reclaim round, including the handling of active and inactive pages. Learn about page table excess bits, working set detection, and implementation details for both working set and nonmcg reclaim. Investigate corner case decisions, the fractional cost model, and advice reclaims. Conclude with insights on multigenerational RRU and a summary of key points, providing a thorough understanding of memory management in the Linux kernel.
Syllabus
Introduction
What is memory reclaim
Different types of reclaim
Capturing all pages
How it works
State diagram
Theres a reclaim round
Page is active
Page is activated
Page on inactive list
Page table excess bits
Working set detection
Working set reclaim
Working set reclaim implementation
Nonmcg reclaim implementation
Corner case decisions
Fractional cost model
Advice reclaims
Conclusion
Multigenerational RRU
Summary
Taught by
Linux Plumbers Conference