[dpdk-dev] [PATCH v3 2/3] malloc: allow reserving biggest element
Remy Horton
remy.horton at intel.com
Thu May 10 15:57:15 CEST 2018
On 03/05/2018 18:18, Anatoly Burakov wrote:
[..]
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
[..]
> + for (idx = 0; idx < RTE_HEAP_NUM_FREELISTS; idx++) {
> + for (elem = LIST_FIRST(&heap->free_head[idx]);
> + !!elem; elem = LIST_NEXT(elem, free_list)) {
Why the double-negation?
Otherwise, see no issues.
Acked-by: Remy Horton <remy.horton at intel.com>
More information about the dev
mailing list