[PATCH 2/2] riscv: Enable ARCH_WANT_HUGETLB_PAGE_OPTIMIZE_VMEMMAP

Muchun Song muchun.song at linux.dev
Mon Oct 24 00:07:22 PDT 2022



> On Oct 23, 2022, at 21:32, guoren at kernel.org wrote:
> 
> From: Guo Ren <guoren at linux.alibaba.com>
> 
> 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”.

> 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@bytedance.com/
> [2] https://lore.kernel.org/linux-mm/20220302084624.33340-1-songmuchun@bytedance.com/
> 
> Signed-off-by: Guo Ren <guoren at linux.alibaba.com>
> Signed-off-by: Guo Ren <guoren at kernel.org>
> Cc: Muchun Song <songmuchun at bytedance.com>
> Cc: Huacai Chen <chenhuacai at loongson.cn>
> Cc: Arnd Bergmann <arnd at arndb.de>

I’am really glad to see more and more arches for support HVO.

Acked-by: Muchun Song <songmuchun at bytedance.com>

Thanks.




More information about the linux-riscv mailing list