(Nit) `wake_cpu(0)` runs while `GLOBAL_WAKE_GET_MUTEX` is held
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 88/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- rust
调研方向
阅读 awkernel_async_lib/src/scheduler/prioritized_fifo.rs:71 和 prioritized_rr.rs:75,然后与 edf.rs:94 对比。检查相对于 wake_cpu(0),_guard 在何时释放;完成条件是在通知前释放它,同时保持先入队再通知的顺序。
由索引模型根据 Issue 内容生成。
描述
Files: awkernel_async_lib/src/scheduler/prioritized_fifo.rs:71,
awkernel_async_lib/src/scheduler/prioritized_rr.rs:75
(and edf.rs:94, which was already like this).
drop(data) releases the queue lock, but _guard is still alive when
wake_cpu(0) is called. Sending the IPI is a VM exit under virtualization, so
it lengthens the global critical section. Dropping _guard before the call
keeps the "enqueue, then notify" order and has no effect on correctness.
- 主要语言
- Rust
- 星标
- 282
- 派生
- 12
- 平均合并
- 2 天 9 小时
- 30 天内合并 PR
- 28
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
tier4/awkernel 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 2 天内回复
-
难度 4/5 3-5 天 新手友好度 48/100
维护者通常 2 天内回复
-
难度 4/5 3-5 天 新手友好度 48/100
维护者通常 2 天内回复
-
难度 4/5 3-5 天 新手友好度 25/100
维护者通常 2 天内回复
-
难度 5/5 一周以上 新手友好度 15/100
维护者通常 2 天内回复
相似的 Issue
-
marketing
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
flashbots/panetiere#46 · 1 条评论 ·
维护者通常 5 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
jlcodes99/cockpit-tools#3190 ·
维护者通常 4 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
Feyisara2108/stellargive#1376 ·
维护者通常 1 天内回复
-
area:post bug effort:medium P7 source:agent
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复