Re: [PATCH 0/4] RFC samples converting VLA to alloca

2024-04-10 Thread Tyler Retzlaff
On Wed, Apr 10, 2024 at 09:27:10AM +0200, Mattias Rönnblom wrote: > On 2024-04-08 17:27, Tyler Retzlaff wrote: > >For next technboard meeting. > > > >On Sun, Apr 07, 2024 at 10:03:06AM -0700, Stephen Hemminger wrote: > >>On Sun, 7 Apr 2024 13:07:06 +0200 > >>Morten Brørup wrote: > >> > From: M

Re: [PATCH 0/4] RFC samples converting VLA to alloca

2024-04-10 Thread Tyler Retzlaff
On Wed, Apr 10, 2024 at 09:32:10AM +0200, Mattias Rönnblom wrote: > On 2024-04-08 17:53, Morten Brørup wrote: > >>From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > >>Sent: Monday, 8 April 2024 17.27 > >> > >>For next technboard meeting. > >> > >>On Sun, Apr 07, 2024 at 10:03:06AM -0700,

Re: [PATCH 0/4] RFC samples converting VLA to alloca

2024-04-10 Thread Tyler Retzlaff
On Wed, Apr 10, 2024 at 09:58:34AM +, Konstantin Ananyev wrote: > > > > > > > > > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > > > > Sent: Monday, 8 April 2024 17.27 > > > > > > > > > > For next technboard meeting. > > > > > > > > > > On Sun, Apr 07, 2024 at 10:03:06AM -07

RE: [PATCH 0/4] RFC samples converting VLA to alloca

2024-04-10 Thread Konstantin Ananyev
> > > > > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > > > Sent: Monday, 8 April 2024 17.27 > > > > > > > > For next technboard meeting. > > > > > > > > On Sun, Apr 07, 2024 at 10:03:06AM -0700, Stephen Hemminger wrote: > > > > > On Sun, 7 Apr 2024 13:07:06 +0200 > > > > > Mo

RE: [PATCH 0/4] RFC samples converting VLA to alloca

2024-04-10 Thread Morten Brørup
> From: Mattias Rönnblom [mailto:hof...@lysator.liu.se] > Sent: Wednesday, 10 April 2024 09.32 > > On 2024-04-08 17:53, Morten Brørup wrote: > >> From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > >> Sent: Monday, 8 April 2024 17.27 > >> [...] > >> Looks like we need to discuss this at

Re: [PATCH 0/4] RFC samples converting VLA to alloca

2024-04-10 Thread Mattias Rönnblom
On 2024-04-08 17:53, Morten Brørup wrote: From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] Sent: Monday, 8 April 2024 17.27 For next technboard meeting. On Sun, Apr 07, 2024 at 10:03:06AM -0700, Stephen Hemminger wrote: On Sun, 7 Apr 2024 13:07:06 +0200 Morten Brørup wrote: From:

Re: [PATCH 0/4] RFC samples converting VLA to alloca

2024-04-10 Thread Mattias Rönnblom
On 2024-04-08 17:27, Tyler Retzlaff wrote: For next technboard meeting. On Sun, Apr 07, 2024 at 10:03:06AM -0700, Stephen Hemminger wrote: On Sun, 7 Apr 2024 13:07:06 +0200 Morten Brørup wrote: From: Mattias Rönnblom [mailto:hof...@lysator.liu.se] Sent: Sunday, 7 April 2024 11.32 On 2024-04

Re: [PATCH 0/4] RFC samples converting VLA to alloca

2024-04-09 Thread Tyler Retzlaff
On Tue, Apr 09, 2024 at 08:28:48AM +, Konstantin Ananyev wrote: > > > > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > > Sent: Monday, 8 April 2024 17.27 > > > > > > For next technboard meeting. > > > > > > On Sun, Apr 07, 2024 at 10:03:06AM -0700, Stephen Hemminger wrote: >

RE: [PATCH 0/4] RFC samples converting VLA to alloca

2024-04-09 Thread Konstantin Ananyev
> > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > Sent: Monday, 8 April 2024 17.27 > > > > For next technboard meeting. > > > > On Sun, Apr 07, 2024 at 10:03:06AM -0700, Stephen Hemminger wrote: > > > On Sun, 7 Apr 2024 13:07:06 +0200 > > > Morten Brørup wrote: > > > > > > > >

RE: [PATCH 0/4] RFC samples converting VLA to alloca

2024-04-08 Thread Morten Brørup
> From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > Sent: Monday, 8 April 2024 17.27 > > For next technboard meeting. > > On Sun, Apr 07, 2024 at 10:03:06AM -0700, Stephen Hemminger wrote: > > On Sun, 7 Apr 2024 13:07:06 +0200 > > Morten Brørup wrote: > > > > > > From: Mattias Rönnblo

Re: [PATCH 0/4] RFC samples converting VLA to alloca

2024-04-08 Thread Tyler Retzlaff
For next technboard meeting. On Sun, Apr 07, 2024 at 10:03:06AM -0700, Stephen Hemminger wrote: > On Sun, 7 Apr 2024 13:07:06 +0200 > Morten Brørup wrote: > > > > From: Mattias Rönnblom [mailto:hof...@lysator.liu.se] > > > Sent: Sunday, 7 April 2024 11.32 > > > > > > On 2024-04-04 19:15, Tyler

Re: [PATCH 0/4] RFC samples converting VLA to alloca

2024-04-07 Thread Stephen Hemminger
On Sun, 7 Apr 2024 13:07:06 +0200 Morten Brørup wrote: > > From: Mattias Rönnblom [mailto:hof...@lysator.liu.se] > > Sent: Sunday, 7 April 2024 11.32 > > > > On 2024-04-04 19:15, Tyler Retzlaff wrote: > > > This series is not intended for merge. It insteat provides examples > > of > > > c

RE: [PATCH 0/4] RFC samples converting VLA to alloca

2024-04-07 Thread Morten Brørup
> From: Mattias Rönnblom [mailto:hof...@lysator.liu.se] > Sent: Sunday, 7 April 2024 11.32 > > On 2024-04-04 19:15, Tyler Retzlaff wrote: > > This series is not intended for merge. It insteat provides examples > of > > converting use of VLAs to alloca() would look like. > > > > what's the advanta

Re: [PATCH 0/4] RFC samples converting VLA to alloca

2024-04-07 Thread Mattias Rönnblom
On 2024-04-04 19:15, Tyler Retzlaff wrote: This series is not intended for merge. It insteat provides examples of converting use of VLAs to alloca() would look like. what's the advantages of VLA over alloca()? * sizeof(array) works as expected. * multi-dimensional arrays are still arrays inst

[PATCH 0/4] RFC samples converting VLA to alloca

2024-04-04 Thread Tyler Retzlaff
This series is not intended for merge. It insteat provides examples of converting use of VLAs to alloca() would look like. what's the advantages of VLA over alloca()? * sizeof(array) works as expected. * multi-dimensional arrays are still arrays instead of pointers to dynamically allocated sp