riscv: mm: add THP support on 64-bit

Bring Transparent HugePage support to riscv. A
transparent huge page is always represented as a pmd.

Signed-off-by: Nanyong Sun <sunnanyong@huawei.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
This commit is contained in:
Nanyong Sun 2021-04-30 16:28:50 +08:00 • committed by Palmer Dabbelt
commit e88b333142
No known key found for this signature in database
GPG key ID: 2E1319F35FBB1889
3 changed files with 164 additions and 0 deletions