Re: [PATCH v2] async_pq: Remove VLA usage

2018-05-30 Thread Dan Williams
On Wed, May 30, 2018 at 2:33 PM, Kees Cook wrote: > On Tue, May 29, 2018 at 3:40 PM, Dan Williams > wrote: >> [ add Vinod's korg address ] >> >> On Tue, May 29, 2018 at 3:37 PM, Dan Williams >> wrote: >>> [ adding linux-raid ] >>> >>> Apologies for the delay, the recent ping from Kees made me

Re: [PATCH v2] async_pq: Remove VLA usage

2018-05-10 Thread Kees Cook
On Sat, May 5, 2018 at 12:58 AM, Kyle Spiers wrote: > In the quest to remove VLAs from the kernel[1], this moves the > allocation of coefs and blocks from the stack to being kmalloc()ed. > > [1] https://lkml.org/lkml/2018/3/7/621 > > Signed-off-by: Kyle Spiers Reviewed-by: Kees Cook Is this so

[PATCH v2] async_pq: Remove VLA usage

2018-05-05 Thread Kyle Spiers
In the quest to remove VLAs from the kernel[1], this moves the allocation of coefs and blocks from the stack to being kmalloc()ed. [1] https://lkml.org/lkml/2018/3/7/621 Signed-off-by: Kyle Spiers --- Forgot to add slab.h --- crypto/async_tx/async_pq.c | 18 ++ crypto/async_tx/