Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 修复无唤醒事件时,核心卡死在idle进程的问题 #1063

Conversation

fslongjin
Copy link
Member

@fslongjin fslongjin commented Nov 27, 2024

卡死原因是apic timer中断来的时候,未能执行调度导致卡死在idle. 如果某个中断(比如键盘)会触发process wakeup的,则会设置idle进程的need schedule位,于是就能调度了。

顺便还解决了http server用Ctrl+C无法kill掉的问题

r? @xiaolin2004 @Samuka007 @GnoCiYeH

相关issue:

@dragonosbot dragonosbot added O-x86_64 Target: x86_64 S-等待审查 Status: 等待assignee以及相关方的审查。 labels Nov 27, 2024
@github-actions github-actions bot added the Bug fix A bug is fixed in this pull request label Nov 27, 2024
fslongjin added a commit to fslongjin/DragonOS-fork that referenced this pull request Nov 27, 2024
- 中断上下文内用到的锁,在外面要irqsave.
- 把主线调度的pr应用到当前分支: DragonOS-Community#1063

Signed-off-by: longjin <[email protected]>
@xiaolin2004 xiaolin2004 merged commit df3bf6d into DragonOS-Community:master Nov 28, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug fix A bug is fixed in this pull request O-x86_64 Target: x86_64 S-等待审查 Status: 等待assignee以及相关方的审查。
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants