• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Demand-paged

mikeshn

Senior member
I read article about Linux. Can someone explain to me what
"The kernel supports demand-paged, loaded executables" demand-paged means.

Thanks
 
The Linux kernel memory maps executables and shared libraries (via the same method as mmap()'d files), and it only loads parts into memory as they're needed for execution. This also makes freeing memory easier because the VM can just free the pages used by the binary, because they'll be reread into memory if they're needed again, no need to swap them out.
 
It's defined right after it's mentioned: The kernel supports demand-paged, loaded executables. Only those segments of a program which are actually in use are read into memory from disk
 
Back
Top