Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Le samedi 09 août 2008 à 17:28 +0000, Martin v. Löwis a écrit : > Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > > >> Instead, Python's own memory allocate (obmalloc) should be changed to > >> directly use the virtual memory interfaces of the operating system (i.e. > >> mmap), bypassing the malloc of the C library. > > > > How would that interact with fork()? > > Nicely, why do you ask?
Because I didn't know :) But looking at the dlmalloc implementation bundled in the patch, it seems that using mmap/munmap (or VirtualAlloc/VirtualFree under Windows) should be ok. Do you think we should create a separate issue for this improvement? It could also solve #3531. _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3526> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com