[Python-ideas] Support parsing stream with `re`

Stephen J. Turnbull turnbull.stephen.fw at u.tsukuba.ac.jp
Tue Oct 9 11:42:04 EDT 2018


Chris Angelico writes:
 > On Tue, Oct 9, 2018 at 10:05 PM Greg Ewing <greg.ewing at 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?



More information about the Python-ideas mailing list