Re: [PATCH 0/2] gpudev: annotate memory allocation

2024-11-08 Thread Stephen Hemminger
On Thu, 17 Oct 2024 15:58:02 -0700 Stephen Hemminger wrote: > Use function attributes to catch misuse of GPU memory > at compile time. > > Stephen Hemminger (2): > test-gpudev: avoid use-after-free and free-non-heap warnings > gpudev: add malloc annotations to rte_gpu_mem_alloc > > app/tes

[PATCH 0/2] gpudev: annotate memory allocation

2024-10-17 Thread Stephen Hemminger
Use function attributes to catch misuse of GPU memory at compile time. Stephen Hemminger (2): test-gpudev: avoid use-after-free and free-non-heap warnings gpudev: add malloc annotations to rte_gpu_mem_alloc app/test-gpudev/main.c | 10 - lib/gpudev/rte_gpudev.h | 46