Commit 4f02e8f3 authored by Zhou Guanghui's avatar Zhou Guanghui Committed by Yang Yingliang
Browse files

ascend/svm: Support pinned memory size greater than 2GB

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


CVE: NA

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

If the memory size of a single pin operation exceeds 2GB,
the memory size required for storing pages exceeds 4MB.
In this case, the allocation using kcalloc fails.

Signed-off-by: default avatarZhou Guanghui <zhouguanghui1@huawei.com>
Reviewed-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>
parent 36b945bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment