TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Linux Memory Management FAQ

188 pointsby janselmanover 4 years ago

5 comments

barnacledover 4 years ago
For anybody who&#x27;s interested I also wrote up a whole bunch of notes on this at <a href="https:&#x2F;&#x2F;github.com&#x2F;lorenzo-stoakes&#x2F;linux-vm-notes" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;lorenzo-stoakes&#x2F;linux-vm-notes</a> and superceded by far more recent <a href="https:&#x2F;&#x2F;github.com&#x2F;lorenzo-stoakes&#x2F;linux-mm-notes" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;lorenzo-stoakes&#x2F;linux-mm-notes</a><p>I have made a few patches into the mm subsystem some simply inspired by researching for the articles.
评论 #26120201 未加载
评论 #26119183 未加载
dbattagliaover 4 years ago
&quot;Virtual addresses are the size of a CPU register. On 32 bit systems each process has 4 gigabytes of virtual address space all to itself, which is often more memory than the system actually has.&quot;<p>I guess this is not the most up-to-date document?
评论 #26119959 未加载
评论 #26118488 未加载
评论 #26119644 未加载
评论 #26118216 未加载
评论 #26119205 未加载
评论 #26122720 未加载
phtrivierover 4 years ago
The Drepper series of article dates from 2007. Is it still relevant or has anything fundamental changed in memory handling in the last 13 years ?
评论 #26118935 未加载
评论 #26119562 未加载
评论 #26119891 未加载
评论 #26120170 未加载
mlaretallackover 4 years ago
The times I have had to explain how mm works is draining. yes you can malloc 2M, no that does not mean you have 2M to use.
评论 #26118973 未加载
bltover 4 years ago
Much of this applies to other OSes with virtual memory also.