Re: [PATCH -next 0/4] THP supprt for RISCV

From: Palmer Dabbelt
Date: Sat May 22 2021 - 14:55:41 EST


On Fri, 30 Apr 2021 01:28:46 PDT (-0700), sunnanyong@xxxxxxxxxx wrote:
This series brings transparent huge pages to RISCV on 64-bit.

I have tested these testcases of vm selftest under qemu-riscv64:
khugepaged
split_huge_page_test
transhuge-stress

Nanyong Sun (4):
riscv: mm: add _PAGE_LEAF macro
riscv: mm: make pmd_bad() check leaf condition
riscv: mm: add param stride for __sbi_tlb_flush_range
riscv: mm: add THP support on 64-bit

arch/riscv/Kconfig | 1 +
arch/riscv/include/asm/pgtable-64.h | 3 +-
arch/riscv/include/asm/pgtable-bits.h | 5 +
arch/riscv/include/asm/pgtable.h | 164 +++++++++++++++++++++++++-
arch/riscv/mm/tlbflush.c | 17 ++-
5 files changed, 178 insertions(+), 12 deletions(-)

Thanks, these are on for-next.