RE: [PATCH v2 09/15] mempool: add allocation function attributes

2025-01-22 Thread Morten Brørup
> From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Wednesday, 22 January 2025 18.33 > > Use function attributes to catch cases where mempool is allocated > but not freed correctly. > > Signed-off-by: Stephen Hemminger > --- Reviewed-by: Morten Brørup

[PATCH v2 09/15] mempool: add allocation function attributes

2025-01-22 Thread Stephen Hemminger
Use function attributes to catch cases where mempool is allocated but not freed correctly. Signed-off-by: Stephen Hemminger --- lib/mempool/rte_mempool.h | 37 - 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/lib/mempool/rte_mempool.h b/lib/me