Embed presentation
Download as PDF, PPTX




![RMAP [Reverse Mapping]
• Opposite to Memory Mapping.
• Traverses the PTE of a page and cumulates hardware
reference count.](https://image.slidesharecdn.com/algorithmsoflinuxmemorymanagementsimplified-181012140733/85/Algorithms-of-linux-memory-management-simplified-1-5-320.jpg)
The document discusses the algorithms of the Linux memory manager, highlighting the watermark mechanism and its drawbacks, such as the need for near full memory to initiate reclamation and potential I/O pressure. It also addresses the swappiness variable and its ambiguity, along with how the Out Of Memory (OOM) mechanism may inadvertently terminate critical processes due to poor tuning options. Lastly, it introduces reverse mapping (rmap) as a method for accumulating hardware reference counts of memory pages.




![RMAP [Reverse Mapping]
• Opposite to Memory Mapping.
• Traverses the PTE of a page and cumulates hardware
reference count.](https://image.slidesharecdn.com/algorithmsoflinuxmemorymanagementsimplified-181012140733/85/Algorithms-of-linux-memory-management-simplified-1-5-320.jpg)