Introduction to Linux Memory Manager

From The Linux Memory Wiki

Jump to: navigation, search

Management of memory inside the operating system used to be a myth for me. Ever since I have learned about x86 assembly language I wondered how can the processor "knows" the difference of 2 same memory address that appeared in different programs, how does a processor maps memory address into physical memory, how the operating system allocates memory and how virtual memory works.


Memory management becomes even confusing when we think that, to manage memory we need to write a program to do so. But running the program itself also needs memory, so how would we able to manage memory if we needs those memory?


All these doubts can be cleared by learning the internal working of the Linux kernel. Memory management, in my opinion, is the most important component of the operating system, because every single piece of code needs memory. In this wiki, I will introduce how Linux memory management works behind the scene. You will learn about how the operating system manages its own memory and provides interface to other kernel components.


Next: Prerequisite
Advertisement