Function Report

Linux Kernel (v4.4)

Source File:kernel\fork.c Create Date:2016-01-14 10:16:56
Last Modify:2016-01-11 07:01:32 Copyright©Brick
home page Tree
Annotate the kernelChinese

Function Name:fork_idle

Function:struct task_struct * fork_idle(int cpu)

Return Type:struct task_struct *

Parameter:

Type Parameter NameRemarks
int cpu

Function description:

1678  task = Create a new process
1679  If !IS_ERR(task) then
1680  init_idle_pids( PID/PID hash table linkage.)
1681  set up an idle thread for a given CPU
1684  Returning task