Re: [PATCH 2/2] riscv: Enable ARCH_WANT_HUGETLB_PAGE_OPTIMIZE_VMEMMAP

From: Guo Ren
Date: Mon Oct 24 2022 - 04:03:11 EST


On Mon, Oct 24, 2022 at 3:07 PM Muchun Song <muchun.song@xxxxxxxxx> wrote:
>
>
>
> > On Oct 23, 2022, at 21:32, guoren@xxxxxxxxxx wrote:
> >
> > From: Guo Ren <guoren@xxxxxxxxxxxxxxxxx>
> >
> > This patch enable the feature of "free some vmemmap pages of HugeTLB
>
> We have a new name “HVO" to refer to this feature. So I’d like to rewrite
> The changelog to something like “Enable HVO [1] for RISCV”.
Okay.

>
> > page" [1]. To make it work correct, we also need fixup PG_dcache_clean
> > setting for huge page [2].
> >
> > [1] https://lore.kernel.org/linux-doc/20210510030027.56044-1-songmuchun@xxxxxxxxxxxxx/
> > [2] https://lore.kernel.org/linux-mm/20220302084624.33340-1-songmuchun@xxxxxxxxxxxxx/
> >
> > Signed-off-by: Guo Ren <guoren@xxxxxxxxxxxxxxxxx>
> > Signed-off-by: Guo Ren <guoren@xxxxxxxxxx>
> > Cc: Muchun Song <songmuchun@xxxxxxxxxxxxx>
> > Cc: Huacai Chen <chenhuacai@xxxxxxxxxxx>
> > Cc: Arnd Bergmann <arnd@xxxxxxxx>
>
> I’am really glad to see more and more arches for support HVO.
>
> Acked-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>
Thx

>
> Thanks.
>


--
Best Regards
Guo Ren