[PATCH v3 18/18] eal: add alloc_function attribute to rte_malloc
fengchengwen
fengchengwen at huawei.com
Mon Sep 30 11:20:24 CEST 2024
Acked-by: Chengwen Feng <fengchengwen at huawei.com>
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-by: Stephen Hemminger <stephen at networkplumber.org>
More information about the dev
mailing list