Pedro Lacerda added the comment:

Maybe useful at mmapmodule.c replacing

        /* SVR4 method to map anonymous memory is to open /dev/zero */
        fd = devzero = _Py_open("/dev/zero", O_RDWR);

tagname is unused at UNIX version of new_mmap_object() so if provided something 
like could be added for Linux only
        fd = memfd_create(tagname, O_RDWR);

----------
nosy: +Pedro Lacerda

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26836>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to