Re: [PATCH] mm: cma: honor __GFP_ZERO flag in cma_alloc()

From: Christoph Hellwig
Date: Mon Jul 02 2018 - 09:45:21 EST


On Mon, Jul 02, 2018 at 03:23:34PM +0200, Marek Szyprowski wrote:
> What about clearing the allocated buffer? Should it be another bool
> parameter,
> done unconditionally or moved to the callers?

Please keep it in the callers. I plan to push it up even higher
from the current callers short to midterm.