> Yet I wonder why this issue has not been solved in the projects default 
> branch or in other word why this hasn't been merged.

I think this is a tradeoff of added complexity / slight increase in allocation 
time vs speed of mallinfo. Another aspect is that we might change the allocator 
at some point (in fact I know Damjan was looking at this), so any optimization 
like this might be lost in the future.
I am curious to better understand why this blocks your workers though: usually 
in VPP, we avoid memory allocations in the datapath. Of course it does sometime 
happens, but usually in an amortized fashion: you might need to allocate some 
memory at some point, but once allocated you should try to reuse it and avoid 
allocations.
So generally speaking, your workers should not block because mallinfo is 
running.

Best
ben
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#26568): https://lists.fd.io/g/vpp-dev/message/26568
Mute This Topic: https://lists.fd.io/mt/116484636/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/14379924/21656/631435203/xyzzy 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to