[Python-ideas] Adding shm_open to mmap?

shibturn shibturn at gmail.com
Thu Feb 16 22:31:49 CET 2012

On 16/02/2012 8:40pm, Sturla Molden wrote:
> For FILE_ATTRIBUTE_TEMPORARY, I am not sure if the memory is shared or
> private. (I.e. if using it for IPC will involve disk access.)

Even if it is backed by a perfectly normal file, using an mmap for IPC 
does not require disk access if the relevant pages have not been evicted 
from memory.

FILE_ATTRIBUTE_TEMPORARY only affects how eager the system is to flush 
modified data to the disk.


More information about the Python-ideas mailing list