Malloc Problem in glibc 2.2

Wolfram Gloger wmglo@dent.med.uni-muenchen.de
Wed Jul 19 01:19:00 GMT 2000


Hello,

I just noted that my patch

2000-06-28  Wolfram Gloger  <wg@malloc.de>

	* malloc/malloc.c (chunk_alloc): If extension of the linear heap
	fails, try mmap_chunk() as a last resort even though n_mmaps_max
	may have been reached.

was too simple minded -- the `last resort' action needs to be moved
after allocating an additional arena has failed.  Sorry about that,
but please don't release 2.2 with this in place, it would be better to
back it out again.

However, I'll come up with a better solution before the weekend if at
all possible.

Regards,
Wolfram.


More information about the Libc-hacker mailing list