Why doesn't it directly invoke malloc(3) to allocate a big block of memory other than calling sbrk() or map() under different conditions?

Siddhesh Poyarekar siddhesh.poyarekar@gmail.com
Thu Aug 13 08:45:10 GMT 2020


On Thu, 13 Aug 2020 at 14:06, 孙世龙 sunshilong via Libc-help
<libc-help@sourceware.org> wrote:
> I would be grateful to have some help with this question.

It is a question for the tlsf project, not for glibc.  Projects make
such decisions for a variety of reasons and the most common one is
that system malloc does not perform the way they would like it.

Siddhesh
-- 
http://siddhesh.in


More information about the Libc-help mailing list