Re: [PATCH] mem-pool: fix big allocations
- From
René Scharfe <l.s.r@web.de>
- Date
- Dec 24, 2023, 09:30 UTC
- Message-ID
- <459f63b9-8246-4216-9163-fe69d5ceee83@web.de>
- In-Reply-To
- <CABPp-BFiK9A6426d7CFeMZvaBcvmShaY9O0krtCe7jeV9wW7nQ@mail.gmail.com>
Am 24.12.23 um 04:11 schrieb Elijah Newren:
Show 5 quoted lines
> On Thu, Dec 21, 2023 at 3:13 PM René Scharfe <l.s.r@web.de> wrote: >> >> 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é