Function report | 
Source Code:kernel\sched\core.c | 
Create Date:2022-07-28 09:35:51 | 
| Last Modify:2022-05-22 13:40:38 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:sh_task_switch - clean up after a task-switch*@prev: the thread we just switched away from
Proto:static struct rq *finish_task_switch(struct task_struct *prev)__releases(rq->lock)
Type:struct rq
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct task_struct * | prev | 
| 3208 | prev_mm = NULL | 
| 3221 | prev_state = run state | 
| 3222 | vtime_task_switch(prev) | 
| 3224 | finish_task(prev) | 
| 3225 | finish_lock_switch(rq) | 
| 3226 | finish_arch_post_lock_switch() | 
| 3242 | If mm Then | 
| 3262 | tick_nohz_task_switch() | 
| 3263 | Return rq | 
| Name | Describe | 
|---|---|
| schedule_tail | schedule_tail - first thing a freshly forked thread must call.*@prev: the thread we just switched away from. | 
| context_switch | ext_switch - switch to the new MM and the new thread's register state. | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |