Re: [PATCH] mem-pool: fix big allocations
From: René Scharfe <hidden>
Date: 2023-12-24 09:30:43
From: René Scharfe <hidden>
Date: 2023-12-24 09:30:43
Am 24.12.23 um 04:11 schrieb Elijah Newren:
On Thu, Dec 21, 2023 at 3:13 PM René Scharfe [off-list ref] wrote:quoted
Add a basic unit test to demonstate the issue by using mem_pool_calloc()demonstrate (missing 'r')?
Yes. I didn't intend to mention any demons or states, let alone a demon state. *facepalm*
Nice catch; looks good to me. Out of curiosity, how'd you find the issue?
I was working on using a memory pool for name-rev. I played with different values for block_alloc, not fully sure why anymore -- either for checking the performance impact or testing robustness. René