Re: [PATCH v5 5/8] mem-pool: add life cycle management functions
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 28, 2018, 17:15 UTC
- Message-ID
- <xmqqefgqygqf.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <20180628135932.225288-6-jamill@microsoft.com>
Jameson Miller <jamill@microsoft.com> writes:
Show 5 quoted lines
> Add initialization and discard functions to mem_pool type. As the > memory allocated by mem_pool can now be freed, we also track the large > allocations. > > If the there are existing mp_blocks in the mem_poo's linked list of
mem_poo?
> mp_blocksl, then the mp_block for a large allocation is inserted
mp_blocksl?