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

From: Palmer Dabbelt
Date: Thu May 06 2021 - 03:21:11 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 were too late for the current merge window. We still have some stuff in flight, I'll take a look after things calm down a bit.