Re: [PATCH 1/8] mm: page_alloc: use get_pfnblock_migratetype where pfn available

From: Zi Yan
Date: Mon Aug 21 2023 - 16:29:43 EST


On 21 Aug 2023, at 14:33, Johannes Weiner wrote:

> Save a pfn_to_page() lookup when the pfn is right there already.
>
> Signed-off-by: Johannes Weiner <hannes@xxxxxxxxxxx>
> ---
> mm/page_alloc.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

Just notice that it is already done in:
https://lkml.kernel.org/r/20230811115945.3423894-3-shikemeng@xxxxxxxxxxxxxxx

--
Best Regards,
Yan, Zi

Attachment: signature.asc
Description: OpenPGP digital signature