Rhyfel :
Pinhedd :
Rhyfel :
After a bit of google, to clarify.
"Process Private: Memory allocated for use only by a single process.".
WHAT, process lol.
All processes. The complement is memory that is shared between two or more processes.
"Memory allocated for use only by a single process"
"The complement is memory that is shared between two or more processes"
What.
Private memory is the sum of all user memory allocated for use by a single process and that process only. This memory is not accessible by other processes because it is not mapped into that process's virtual address space.
Shared memory is user memory allocated to two or more processes. This memory is mapped into the virtual address space of two or more processes, allowing kernel threads belonging to the different processes to share the memory as if those kernel threads belonged to the same process.