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

From: Marek Szyprowski
Date: Mon Jul 09 2018 - 06:33:08 EST


Hi Christoph,

On 2018-07-02 15:30, Christoph Hellwig wrote:
> 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.

Okay, I will post a patch with this approach then.

Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland