This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jnwatson
Recipients BTaskaya, adiroiban, brian.curtin, jnwatson, luks, neologix, pitrou
Date 2019-05-30.17:57:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1559239047.74.0.800247535134.issue1572968@roundup.psfhosted.org>
In-reply-to
Content
I'll add one more system I/O call that's not GIL-wrapped in the mmap module that can take some time:  mmap itself.

mmap on Linux with MAP_POPULATE (0x8000) as the flags can take quite a bit of time.  That's the flag that prefaults the memory range.  MAP_POPULATE has been around since Linux 2.5.46.

I know that MAP_POPULATE isn't explicitly supported in the module, but mmap.mmap does take arbitrary flags, so it isn't exactly unsupported either.
History
Date User Action Args
2019-05-30 17:57:27jnwatsonsetrecipients: + jnwatson, pitrou, luks, brian.curtin, neologix, adiroiban, BTaskaya
2019-05-30 17:57:27jnwatsonsetmessageid: <1559239047.74.0.800247535134.issue1572968@roundup.psfhosted.org>
2019-05-30 17:57:27jnwatsonlinkissue1572968 messages
2019-05-30 17:57:27jnwatsoncreate