Commit 2facb590 authored by Ding Tianhong's avatar Ding Tianhong Committed by Yang Yingliang
Browse files

ascend: vmalloc: export new function for share pool

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


CVE: NA

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

This is a prepare patch for share pool, export new function
to vmalloc hugepage and vmap the hugepage to virtually
contiguous space.

The new head file share_pool.h is mainly used for share pool
features and export some sp_xxx function when ascend_share_pool
config is enabled, and do nothing by default.

Signed-off-by: default avatarZefan Li <lizefan@huawei.com>
Signed-off-by: default avatarTang Yizhou <tangyizhou@huawei.com>
Signed-off-by: default avatarLi Ming <limingming.li@huawei.com>
Signed-off-by: default avatarDing Tianhong <dingtianhong@huawei.com>
Reviewed-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Reviewed-by: default avatarWeilong Chen <chenweilong@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 2d2fe6b4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment