Message343989
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. |
|
Date |
User |
Action |
Args |
2019-05-30 17:57:27 | jnwatson | set | recipients:
+ jnwatson, pitrou, luks, brian.curtin, neologix, adiroiban, BTaskaya |
2019-05-30 17:57:27 | jnwatson | set | messageid: <1559239047.74.0.800247535134.issue1572968@roundup.psfhosted.org> |
2019-05-30 17:57:27 | jnwatson | link | issue1572968 messages |
2019-05-30 17:57:27 | jnwatson | create | |
|