What is the difference between ”current“ and “prev” in the “__schedule” function, why not use current directly

后端 未结 0 1694
萌比男神i
萌比男神i 2020-12-08 15:56

In the kernel source code:

3407 static void __sched notrace __schedule(bool preempt)
3408 {
3409         struct task_struct *prev, *next;
3410         unsigne         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题