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

11.4 xv6线程切换 这一节有个问答有疑问 #28

Open
wisecsj opened this issue Sep 10, 2021 · 0 comments
Open

11.4 xv6线程切换 这一节有个问答有疑问 #28

wisecsj opened this issue Sep 10, 2021 · 0 comments

Comments

@wisecsj
Copy link

wisecsj commented Sep 10, 2021

截屏2021-09-10 下午5 28 43

跟翻译没有关系哈。这里Robert说可以保存在trapframe中,我感觉不对吧?trapframe在用户地址空间,swtch.S又并没有像trampoline那样kernel,user同映射。如果保存在trapframe,需要切换page table,但是swtch.S的执行就崩掉了

(PS: 最后感谢有这么一个项目,加速了我学习的进度)

@wisecsj wisecsj changed the title 11.4 虚 11.4 xv6线程切换 这一节有个问答有疑问 Sep 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant