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

Sanford, Robert rsanford at akamai.com
Fri May 9 16:24:13 CEST 2014


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?

Thanks,
Robert



More information about the dev mailing list