[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4491bde2-cf38-5103-0634-1986ecd32a7c@codeaurora.org>
Date: Mon, 9 Apr 2018 18:48:14 -0400
From: Sinan Kaya <okaya@...eaurora.org>
To: Laura Abbott <labbott@...hat.com>,
Vinod Koul <vinod.koul@...el.com>,
Dan Williams <dan.j.williams@...el.com>
Cc: dmaengine@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-hardening@...ts.openwall.com,
Kees Cook <keescook@...omium.org>
Subject: Re: [PATCH] dmaengine: dmatest: Remove use of VLAs
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.
Powered by blists - more mailing lists