The type parameter for malloc is only used for tracing. Fix documentation and don't pass through heap routines.
Stephen Hemminger (2): rte_malloc: document that type is for tracing eal: remove type argument from internal routines v3 - drop event/sw patch (already fixed) lib/eal/common/eal_common_memzone.c | 6 ++--- lib/eal/common/malloc_heap.c | 39 ++++++++++++----------------- lib/eal/common/malloc_heap.h | 7 +++--- lib/eal/common/rte_malloc.c | 2 +- lib/eal/include/rte_malloc.h | 27 ++++++++++---------- 5 files changed, 35 insertions(+), 46 deletions(-) -- 2.43.0