On Tue, Mar 27, 2018 at 10:12:54AM +0200, Sebastian Ott wrote: > Hi, > > commit 57bf5a8963f80fb3828c46c3e3a5b2dd790e09a7 broke usage of dma > allocations specifying __GFP_ZERO by silently removing that flag. > > Why should "the memory returned [] always be zeroed."?
Because that is what the current implementations do - we always zero the memory returned from dma_map_ops.alloc().

