Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\kthread.c Create Date:2022-07-28 09:30:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kthread_data - return data value specified on kthread creation*@task: kthread task in question* Return the data value specified when kthread @task was created.* The caller is responsible for ensuring the validity of @task when* calling this function.

Proto:void *kthread_data(struct task_struct *task)

Type:void

Parameter:

TypeParameterName
struct task_struct *task
165  Return data
Caller
NameDescribe
wq_worker_sleepingwq_worker_sleeping - a worker is going to sleep*@task: task going to sleep* This function is called from schedule() when a busy worker is* going to sleep.
wq_worker_last_funcwq_worker_last_func - retrieve worker's last work function*@task: Task to retrieve last work function of
wq_worker_commsed to show worker information through /proc/PID/{comm,stat,status}
irq_thread_dtor
io_wq_worker_sleepingCalled when worker is going to sleep. If there are no workers currently* running and we have work pending, wake up a free one or have the manager* set one up.