mbox series

[-next,0/4] THP supprt for RISCV

Message ID 20210430082850.462609-1-sunnanyong@huawei.com (mailing list archive)
Headers show
Series THP supprt for RISCV | expand

Message

Nanyong Sun April 30, 2021, 8:28 a.m. UTC
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(-)

Comments

Palmer Dabbelt May 6, 2021, 7:21 a.m. UTC | #1
On Fri, 30 Apr 2021 01:28:46 PDT (-0700), sunnanyong@huawei.com 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.
Palmer Dabbelt May 22, 2021, 6:55 p.m. UTC | #2
On Fri, 30 Apr 2021 01:28:46 PDT (-0700), sunnanyong@huawei.com 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.