Skip to content
Unverified Commit 7da9ca3f authored by Chuanhua Han's avatar Chuanhua Han Committed by Palmer Dabbelt
Browse files

riscv: mm: Remove the copy operation of pmd



Since all processes share the kernel address space,
we only need to copy pgd in case of a vmalloc page
fault exception, the other levels of page tables are
shared, so the operation of copying pmd is unnecessary.

Signed-off-by: default avatarChuanhua Han <hanchuanhua@oppo.com>
Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
parent 31231092
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment