Question about freeing segments in non contiguous main_arena

Abhijit Ray Chaudhury abhijit.ray.chaudhury@gmail.com
Mon May 4 06:06:57 GMT 2026


Hi ,

When main_arena can not grow using brk , mmap is used to fall back and
main_atrena is marked non-contiguous.

My question is how the VM associated with mmped segments of main_arena are
freed when a full segment is free through buffer coalescence ?

Thanking You in advance,
-Abhijit


More information about the Libc-help mailing list