Re: [PATCH 1/2] dma-mapping: zero memory returned from dma_alloc_*

From: Sam Ravnborg
Date: Fri Dec 14 2018 - 13:11:12 EST


Hi Christoph,

I stumbled upon this one:

#define __get_dma_pages(gfp_mask, order) \
__get_free_pages((gfp_mask) | GFP_DMA, (order))

(include/linux/gfp.h)
Should it also have the __GFP_ZERO treatment?
Or maybe this is already done in your tree..

As for the sparc bits:
Acked-by: Sam Ravnborg <sam@xxxxxxxxxxxx> [sparc]

Sam