Re: [PATCH] mm: page_alloc: add trace_mm_page_alloc to bulk allocation path

From: Qiqi Liu

Date: Tue Sep 08 2026 - 06:11:25 EST


On Mon, Sep 07, 2026 at 10:53:19AM -0400, Gregory Price wrote:
> Sashiko asked whether we're also missing kmsan hook here as well:
>
> kmsan_alloc_page(page, 0, gfp);
>
> Might be worth a quick look and just adding both in one go.
>
> ~Gregory

Hi Gregory,

Thanks for the suggestion and for taking the time to review this patch.

I've added both trace_mm_page_alloc() and kmsan_alloc_page() in v3 to
ensure the bulk path matches the standard allocation path.

Best regards,
Qiqi Liu