Re: [PATCH resend v6 11/30] mm: use __GFP_ZERO in alloc_anon_folio
From: Gregory Price
Date: Mon May 11 2026 - 12:52:04 EST
On Mon, May 11, 2026 at 05:02:45AM -0400, Michael S. Tsirkin wrote:
> Convert alloc_anon_folio() to pass __GFP_ZERO instead of zeroing
> at the callsite. post_alloc_hook uses the fault address passed
> through vma_alloc_folio for cache-friendly zeroing.
>
> Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx>
> Assisted-by: Claude:claude-opus-4-6
Reviewed-by: Gregory Price <gourry@xxxxxxxxxx>