摘要: 我们知道进程切换就是变更进程上下文,而实现上下文切换的函数就是context_switch函数,该函数为kernel/sched/core.c文件中,代码如下: /* * context_switch - switch to the new MM and the new thread's regis 阅读全文
posted @ 2023-04-26 23:06 hunterooo 阅读(720) 评论(0) 推荐(0)