Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ