Function Report

Linux Kernel (v4.4)

Source File:block\blk-ioc.c Create Date:2016-01-14 13:21:27
Last Modify:2016-01-11 07:01:32 Copyright©Brick
home page Tree
Annotate the kernelChinese

Function Name:exit_io_context

Function:void exit_io_context(struct task_struct *task)

Return Type:void


Type Parameter NameRemarks
struct task_struct * task

Function description:Called by the exiting task

204  Protects->fs,->files,->mm,->group_info,->comm, keyring subscriptions and synchronises with wait4(). Also used in procfs. Also pins the final release of task.io_context. Also protects->cpuset and->cgroup.subsys[]. And->vfork_done.
205  ioc = io_context
206  io_context = NULL
207  task_unlock(task)
209  decrement atomic variable
210  put active reference on ioc
Function NameFunction description
copy_processCreate a new process