解决了debian上编译后,kernel_thread_func被优化掉的问题

This commit is contained in:
fslongjin
2022-04-26 00:25:15 +08:00
parent 4a41e734a5
commit 4473ff594c
11 changed files with 111 additions and 33 deletions

View File

@ -74,6 +74,7 @@ void sched_cfs()
break;
}
}
kdebug("before switch, next.rip = %#018lx\tnext->gs=%#018lx", proc->thread->rip, proc->thread->gs);
switch_proc(current_pcb, proc);
}
else // 不进行切换