37

原来Linux是这么管理内存的-程序员麦冬

 3 years ago
source link: https://blog.51cto.com/14849432/2514945
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Linux 内存管理模型非常直接明了,因为 Linux 的这种机制使其具有可移植性并且能够在内存管理单元相差不大的机器下实现 Linux,下面我们就来认识一下 Linux 内存管理是如何实现的。基本概念每个 Linux 进程都会有地址空间,这些地址空间由三个段区域组成:text 段、data 段、stack 段。下面是进程地址空间的示例。数据段(data segment) 包含了程序的变量、字符串

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK