lkml.org 
[lkml]   [2022]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mm/dmapool.c: avoid duplicate memset withi n 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.
\
 
 \ /
  Last update: 2022-07-18 04:08    [W:0.054 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site