Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__kthread_bind

Proto:static void __kthread_bind(struct task_struct *p, unsigned int cpu, long state)

Type:void

Parameter:

TypeParameterName
struct task_struct *p
unsigned intcpu
longstate
413  __kthread_bind_mask(p, cpumask_of - the cpumask containing just a given cpu*@cpu: the cpu (<= nr_cpu_ids)(cpu), state)
Caller
NameDescribe
kthread_bindkthread_bind - bind a just-created kthread to a cpu
kthread_unparkkthread_unpark - unpark a thread created by kthread_create().*@k: thread created by kthread_create().* Sets kthread_should_park() for @k to return false, wakes it, and* waits for it to return. If the thread is marked percpu then its