[dpdk-dev] [PATCH] malloc: fix rte_free run time in O(n) free blocks

Thomas Monjalon thomas.monjalon at 6wind.com
Fri May 9 16:29:22 CEST 2014


2014-05-09 09:24, Sanford, Robert:
> Hi Thomas,
> 
> >Some patches like this one are not yet reviewed because efforts were
> >focused
> >on release 1.6.0r2. This enhancement must be integrated in 1.7.0.
> >I know that patchwork service is desired and I hope it will be available
> >soon.
> 
> I realized that you guys had been very busy with 1.6.0r2. I just wanted to
> make
> sure that lower-priority patches didn't fall through the cracks.
> 
> >By the way, looking at librte_malloc, it seems implementation of lists
> >could
> >be simpler. Don't you think we could improve (in another patch) this
> >whole
> >code by using BSD macros for lists?
> 
> Yes, I was surprised to find the malloc code not using any kind of list
> functions/macros. I am willing to rework the patch. By BSD list macros, I
> believe you are referring to QUEUE(3) and sys/queue.h. It that right?

Yes I'm referring to QUEUE(3).
So I wait for your rework.

Thanks
-- 
Thomas


More information about the dev mailing list