402 Star 1.4K Fork 1.3K

GVPopenEuler / kernel

 / 详情

【openEuler-22.03-LTS-SP3】内存动态隔离和释放

已完成
需求
创建于  
2023-11-28 16:55

【特性描述】
提供安全、稳定的内存页面动态隔离与解除隔离的功能,支持隔离时安全迁移原内存。

【特性竞争力】

  1. 接口稳定
  2. 迁移时触发 UCE 不会导致内核 panic

【硬件架构】

ARM

【特性约束】
NA

【涉及仓库】

OLK-5.10

【交付个人/团队】
内存

评论 (2)

Ma Wupeng 创建了需求

Hi ma-wupeng, 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.

  1. /sys/kernel/page_eject/offline_page
    参数:
    物理地址
    返回值:
    0: 成功
    其他值:失败
    进程被杀:访问到UCE页面

下线正在使用的页面,将记录改页面。
2. /sys/kernel/page_eject/online_page
参数:
物理地址
返回值:
0: 成功
其他值:失败

上线指定页面,需要该页面通过 offline_page 下线
3. /sys/kernel/page_eject/remove_page
参数:
物理地址
返回值:
0: 成功
其他值:失败

移除对该页面的记录,不允许后续上线操作。

登录 后才可以发表评论

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

搜索帮助