Re: [PATCH v7 00/16] Fix allocation bugs and prevent future ones

2024-10-10 Thread David Marchand
On Tue, Oct 8, 2024 at 6:50 PM Stephen Hemminger wrote: > > On Fri, 4 Oct 2024 16:57:16 +0200 > David Marchand wrote: > > > > > > > It seems v7 lost the last patch that was introducing and using the > > > annotations in rte_malloc. > > > Was there an issue with this patch, or is it just a series

Re: [PATCH v7 00/16] Fix allocation bugs and prevent future ones

2024-10-08 Thread Stephen Hemminger
On Fri, 4 Oct 2024 16:57:16 +0200 David Marchand wrote: > > > > It seems v7 lost the last patch that was introducing and using the > > annotations in rte_malloc. > > Was there an issue with this patch, or is it just a series submission > > issue? > > Btw, reading gcc documentation, it seems t

Re: [PATCH v7 00/16] Fix allocation bugs and prevent future ones

2024-10-04 Thread David Marchand
On Fri, Oct 4, 2024 at 4:28 PM David Marchand wrote: > > On Wed, Oct 2, 2024 at 8:39 PM Stephen Hemminger > wrote: > > > > Recent versions of GCC have some additional function attributes that can > > help with DPDK performance and stability. > > > > The alloc_align attribute tells the compiler wh

Re: [PATCH v7 00/16] Fix allocation bugs and prevent future ones

2024-10-04 Thread David Marchand
On Wed, Oct 2, 2024 at 8:39 PM Stephen Hemminger wrote: > > Recent versions of GCC have some additional function attributes that can > help with DPDK performance and stability. > > The alloc_align attribute tells the compiler what the alignment > of the allocation will be, and the optimizer can us

[PATCH v7 00/16] Fix allocation bugs and prevent future ones

2024-10-02 Thread Stephen Hemminger
Recent versions of GCC have some additional function attributes that can help with DPDK performance and stability. The alloc_align attribute tells the compiler what the alignment of the allocation will be, and the optimizer can use this to produce better code (especially memcpy and structure copie