Commit 25d9681d authored by Wang Wensheng's avatar Wang Wensheng
Browse files

mm/sharepool: Implement mg_sp_make_share_k2u()

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



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

This share a kernel vmalloc memory range to userspace via
remap_pfn_range()/hugetlb_insert_hugepage_pte().

The hugepages remap to userspace is specail map and no need to clean
the rmap and manage the dirty bit in __unmap_hugepage_range.

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