| Function report | 
| Source Code: kernel\sched\core.c | Create Date:2022-07-28 09:35:49 | 
| Last Modify:2022-05-22 13:40:38 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:wake_up_new_task - wake up a newly created task for the first time.* This function will do some initial scheduler statistics housekeeping* that must be done for every newly created context, then puts the task* on the runqueue and wakes it.
Proto:void wake_up_new_task(struct task_struct *p)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct task_struct * | p | 
| 2951 | run state = Used in tsk->state: | 
| 2965 | update_rq_clock(rq) | 
| 2966 | post_init_entity_util_avg(p) | 
| 2968 | activate_task(rq, p, ENQUEUE_NOCLOCK) | 
| 2970 | check_preempt_curr(rq, p, Child wakeup after fork ) | 
| 2982 | task_rq_unlock(rq, p, & rf) | 
| Name | Describe | 
|---|---|
| _do_fork | fork routine | 
| 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 |