Re: [PATCH v2 1/3] mm: avoid extra mem_alloc_profiling_enabled() checks

From: Shakeel Butt
Date: Mon Feb 03 2025 - 15:38:10 EST


On Sat, Feb 01, 2025 at 03:18:00PM -0800, Suren Baghdasaryan wrote:
> Refactor code to avoid extra mem_alloc_profiling_enabled() checks inside
> pgalloc_tag_get() function which is often called after that check was
> already done.
>
> Signed-off-by: Suren Baghdasaryan <surenb@xxxxxxxxxx>

Reviewed-by: Shakeel Butt <shakeel.butt@xxxxxxxxx>