[ovs-dev] [PATCH 2/3] util: Add allocation wrappers that don't increment coverage counters.
Ben Pfaff
blp at ovn.org
Wed Apr 7 16:45:25 UTC 2021
On Wed, Apr 07, 2021 at 01:12:11PM +0200, Ilya Maximets wrote:
> On 3/26/21 7:30 PM, Ben Pfaff wrote:
> > The thread-local data allocators can't increment coverage counters
> > because this can cause reentrancy. Until now, this code has used
> > explicit calls to malloc(). This code replaces them by calls to the
> > new functions. This will make it easier in an upcoming patch to update
> > all the code that can run out of memory.
>
> Commit message should be adjusted if we're no going to have patch #3.
> Beside that and a couple of minor comments inline it looks OK to me.
> Have no strong opinion if we need this patch or not.
>
> Anyway,
> Acked-by: Ilya Maximets <i.maximets at ovn.org>
Thanks, I folded in your comments and applied this to master.
More information about the dev
mailing list