[PATCH v2 0/3] malloc related cleanups
Stephen Hemminger
stephen at networkplumber.org
Sat Jun 15 18:00:11 CEST 2024
The type parameter for malloc is only used for tracing.
Fix documentation and don't pass through heap routines.
Stephen Hemminger (3):
rte_malloc: document that type is for tracing
eal: remove type argument from internal routines
event/sw: avoid snprintf truncation
v2 - keep usage for tracing
- combine event malloc type patch
drivers/event/sw/iq_chunk.h | 2 --
drivers/event/sw/sw_evdev.c | 2 +-
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 | 24 +++++++++---------
7 files changed, 35 insertions(+), 47 deletions(-)
--
2.43.0
More information about the dev
mailing list