Re: [PATCH v3 18/18] eal: add alloc_function attribute to rte_malloc

2024-09-30 Thread fengchengwen
Acked-by: Chengwen Feng On 2024/9/29 23:34, Stephen Hemminger wrote: > Use the GCC function attribute to detect cases where > memory is allocated with rte_malloc and freed incorrectly > with libc version of free (and vice versa). Also will detect > some other pointer mismatches. > > Signed-off-b

[PATCH v3 18/18] eal: add alloc_function attribute to rte_malloc

2024-09-29 Thread Stephen Hemminger
Use the GCC function attribute to detect cases where memory is allocated with rte_malloc and freed incorrectly with libc version of free (and vice versa). Also will detect some other pointer mismatches. Signed-off-by: Stephen Hemminger --- doc/guides/rel_notes/release_24_11.rst | 8 lib/ea