Repository navigation
fix(mm): allow demand paging after timed syscall wakes - #41
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
定时唤醒的 syscall 尚未重入清理时,任务可能仍挂在旧等待队列上。若此时文件数据或指令取页遇到存储暂忙,缺页等待会错误返回
-EBUSY,最终向合法映射的进程发送 SIGBUS。此改动让经过校验的当前 RUNNING 用户任务先移除自己的旧等待记录,再进入现有的有界缺页等待;保留 syscall continuation、已接收的存储请求和其他任务的等待记录。新增连接真实缺页分发、页缓存、等待队列及压力处理代码的回归,覆盖
error=0x4数据读取和error=0x14指令取页。用例在修复前断言失败,修复后恢复完整页面且无信号或页泄漏;同时验证非当前/非 RUNNING 任务仍被拒绝。补齐 VGPU 接口引入后宿主夹具缺失的两个设备映射桩,非预期调用仍直接失败。验证通过:
modules_install。tools/test_memory_reporting.py全套,包括新增file-timed-wait。tools/test_memory_pressure.py全套。tools/test_private_fault_transactions.py,13 项通过。make test-ownership test-host-smoke,17 个宿主快速套件通过。tools/test_header_export.py,96 个头文件的白名单、C/C++ 独立编译及清理检查通过。git diff --check。ReliefOS 配套 PR:ReliefOSProject/ReliefOS#122。4GB、2 CPU、QEMU TCG 的实际 GUI 更新检查已完成:界面显示
Ready to update,导出的客体日志记录100% Update checks completed,串口无用户进程缺页信号。安装器同时使用配套 PR 的临时空间修复。自动按钮 OCR 未识别完成标签,改用真实截图和客体日志核验后终止了该等待脚本;未执行确认后的落盘更新。内核 GitHub CI 已通过。用户报告的平台为 VMware、4GB 内存;本环境无法运行 VMware,尚不能确认这是该实例唯一的故障原因。
不改变用户态 ABI。原生模块内容身份会按现有规则更新,内核、模块与 initramfs 应一起重建。