401 Star 1.4K Fork 1.3K

GVPopenEuler / kernel

 / 详情

gmemFreeEager和gmemPrefetch部分异常参数不报错

已验收
缺陷
创建于  
2023-09-12 09:50

【环境信息】
6.4.0-5.0.0.13.oe2309.aarch64

【问题复现步骤】,请描述具体的操作步骤
1、调用gmemPrefetch((unsigned long)inputData.host[0], -1, hnid, NULL)
返回值为0(gmemFreeEager相同)
2、调用gmemFreeEager((unsigned long)0xFFFFFFFFFFFFFFFF, 1, NULL)
返回值为0
2、调用gmemFreeEager((unsigned long)0xa20000000000, 1, NULL)
返回值为0
【实际结果】,请描述出问题的结果和影响
见问题复现步骤
【其他相关附件信息】

评论 (3)

Hi zhangxiaofeng-melody, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Kernel, and any of the maintainers.

zhangxiaofeng_melody 创建了缺陷
openeuler-ci-bot 添加了
 
sig/Kernel
标签
zhangxiaofeng_melody 负责人设置为Fcc
zhangxiaofeng_melody 优先级设置为次要
展开全部操作日志

b63a108e810b mm: gmem: Check overflow for prefetch/eagerfree

zhangxiaofeng_melody 任务状态待办的 修改为已完成

调用gmemPrefetch((unsigned long)inputData.host[0], -1, hnid, NULL)会返回-1。其他两种情况属于小于一个2M页面的情况,已经在资料中说明。
输入图片说明

zhangxiaofeng_melody 任务状态已完成 修改为已验收

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
5329419 openeuler ci bot 1632792936
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

搜索帮助