Re:Linux Memory Overcommit (2007)
by senderista on Sunday August 18, 2024 @06:10PM
(#41285944)
There are also legitimate uses of overcommit for reserving huge areas of virtual memory and relying on demand paging to allocate physical memory, although strictly speaking enabling overcommit isn’t necessary if you separate the “reserve” (mmap(PROT_NONE)) and “commit” (mmap(MAP_FIXED, PROT_READ | PROT_WRITE)) stages (which is what Windows forces you to do).
[ Parent
| on HN ]
There are no comments on this comment yet.