[ovs-dev] [PATCH ovn] northd: Reduce number of logical flow allocations.

Dumitru Ceara dceara at redhat.com
Wed Jun 16 08:06:45 UTC 2021


On 6/15/21 6:16 PM, Numan Siddique wrote:
> On Tue, Jun 1, 2021 at 9:33 AM Dumitru Ceara <dceara at redhat.com> wrote:
>> There's no need to allocate a logical flow structure if we're going to
>> merge it to an existing one that refers to a datapath group.
>>
>> This saves a lot of xstrdup() calls followed immediately by free().
>>
>> Reported-at: https://bugzilla.redhat.com/1962818
>> Signed-off-by: Dumitru Ceara <dceara at redhat.com>
> Thanks Dumitru.  I applied this patch to the main branch and also to
> branch-21.06
> as it seems a good candidate for backport due to the improvements
> without much code changes.
> 

Thanks a lot!



More information about the dev mailing list