Re: [PATCH] dmaengine: dmatest: Remove use of VLAs

From: Sinan Kaya
Date: Mon Apr 09 2018 - 18:48:26 EST


On 4/9/2018 5:06 PM, Laura Abbott wrote:
> + /* dst_cnt can't be more than u8 */
> + dma_addr_t dma_pq[255];

This is 2k stack space on 64 bit architectures. Isn't that a lot?

--
Sinan Kaya
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.