Function Report

Linux Kernel (v4.4)

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

Function Name:free_task

Function:void free_task(struct task_struct *tsk)

Return Type:void

Parameter:

Type Parameter NameRemarks
struct task_struct * tsk

Function description:

224  account_kernel_stack(pointer of stack, -1)
225  arch_release_thread_info(pointer of stack)
226  free_thread_info(pointer of stack)
227  rt_mutex_debug_task_free(tsk)
228  Recycling debug stack
229  put_seccomp_filter(tsk)
230  arch_release_task_struct(tsk)
231  free_task_struct(tsk)
Caller
Function NameFunction description
__put_task_struct
copy_processCreate a new process