Message70945
Le samedi 09 août 2008 à 17:28 +0000, Martin v. Löwis a écrit :
> Martin v. Löwis <martin@v.loewis.de> 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. |
|
Date |
User |
Action |
Args |
2008-08-09 17:54:53 | pitrou | set | recipients:
+ pitrou, loewis, sable |
2008-08-09 17:53:52 | pitrou | link | issue3526 messages |
2008-08-09 17:53:51 | pitrou | create | |
|