[PATCH 16/16] mempool: annotate mempool create

Morten Brørup mb at smartsharesystems.com
Sat Sep 28 13:49:32 CEST 2024


> From: Stephen Hemminger [mailto:stephen at networkplumber.org]
> Sent: Friday, 27 September 2024 22.46
> 
> Use rte_alloc_function annotation to catch mismatch errors
> on memzone handling.
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---

Note for other reviewers:
rte_mempool_free() was intentionally moved up,
so __rte_alloc_func attribute can refer to it.

Reviewed-by: Morten Brørup <mb at smartsharesystems.com>



More information about the dev mailing list