Re: [PATCH v2 2/7] mm: add a set_page_section_from_pfn() helper

From: Mike Rapoport

Date: Sat May 23 2026 - 08:11:51 EST


On Thu, 21 May 2026 12:01:19 +0800, Li Zhe <lizhe.67@xxxxxxxxxxxxx> wrote:
> Callers that want to update section bits from a PFN currently need to
> open-code:
>
> set_page_section(page, pfn_to_section_nr(pfn));
>
> and guard that sequence with #ifdef SECTION_IN_PAGE_FLAGS.
>
> [...]

Reviewed-by: Mike Rapoport (Microsoft) <rppt@xxxxxxxxxx>

--
Sincerely yours,
Mike.