Commit 965faf0a authored by Wang Wensheng's avatar Wang Wensheng
Browse files

mm/hugetlb: Introduce hugetlb_insert_hugepage_pte[_by_pa]

ascend inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I8LNGH



---------------------------------------------

Add hugetlb_insert_hugepage_pte[_by_pa] to insert hugepages into process
page table. The by_pa version performs like remap_pfn_range() that make
the pte special and can be used for reserved physical memory.

Signed-off-by: default avatarWang Wensheng <wangwensheng4@huawei.com>
parent cb2566ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment