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

Sam Ravnborg
2018-12-14T18:11:11Z

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@ravnborg.org> [sparc]

Sam