Is it needed to zero out the dma buffer for DMA_ATTR_NO_KERNEL_MAPPING

Hillf Danton hdanton at sina.com
Thu Sep 3 22:28:01 EDT 2020


Hi Folks

Currently the DMA_ATTR_NO_KERNEL_MAPPING buffer allocated is not
cleared while dma core always zero it out for coherent allocations.

Is it making sense to do memset for the attr?

Thanks
Hillf




More information about the Linux-nvme mailing list