Function report | 
Source Code:kernel\sched\core.c | 
Create Date:2022-07-28 09:35:39 | 
| Last Modify:2022-05-22 13:40:38 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Mark the task runnable and perform wakeup-preemption.
Proto:static void ttwu_do_wakeup(struct rq *rq, struct task_struct *p, int wake_flags, struct rq_flags *rf)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct rq * | rq | |
| struct task_struct * | p | |
| int | wake_flags | |
| struct rq_flags * | rf | 
| 2221 | check_preempt_curr(rq, p, wake_flags) | 
| 2222 | run state = Used in tsk->state: | 
| Name | Describe | 
|---|---|
| ttwu_do_activate | |
| ttwu_remote | Called in case the task @p isn't fully descheduled from its runqueue,* in this case we must do a remote wakeup. Its a 'light' wakeup though,* since all we need to do is flip p->state to TASK_RUNNING, since* the task is still ->on_rq. | 
| 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  |