
9 Oct
2018
9 Oct
'18
3:42 p.m.
Chris Angelico writes:
On Tue, Oct 9, 2018 at 10:05 PM Greg Ewing greg.ewing@canterbury.ac.nz wrote:
Chris Angelico wrote:
In contrast, a mmap'd file is memory that you do indeed own.
Although it's not really accurate to say that it's owned by a particular process. If two processes mmap the same file, the physical memory pages holding it appear in the address spaces of both processes.
Subject to COW, I presume. Probably in units smaller than the whole file (per page?)
Tell me, which process is responsible for libc being in memory? Other than, like, all of them?
Yes. Why would you want a different answer?