lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <40912cc7-4d8d-41f0-8256-add55ae41597.liusong@linux.alibaba.com>
Date:   Mon, 18 Jul 2022 10:07:26 +0800
From:   "liusong" <liusong@...ux.alibaba.com>
To:     "Andrew Morton" <akpm@...ux-foundation.org>
Cc:     "linux-mm" <linux-mm@...ck.org>,
        "linux-kernel" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] mm/dmapool.c: avoid duplicate memset within dma_pool_alloc

This patch can not only consider direct alloc, with config CONFIG_DMA_DECLARE_COHERENT,
in "dma_alloc_from_dev_coherent", which will also explicitly memset the allocated memory to 0,
so this situation needs to be considered. It is beneficial to the process of calling "dma_pool_zalloc".
Next, a V2 patch will be submitted.

Thanks.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ