Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:kthread_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

Proto:void kthread_unpark(struct task_struct *k)

Type:void

Parameter:

TypeParameterName
struct task_struct *k
474  kthread = to_kthread(k)
480  If st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from Then __kthread_bind(k, cpu, Used in tsk->state again: )
483  lear_bit - Clears a bit in memory*@nr: Bit to clear*@addr: Address to start counting from* This is a relaxed atomic operation (no implied memory barriers).
487  wake_up_state(k, Used in tsk->state again: )
Caller
NameDescribe
kthread_stopstop a thread
smpboot_unpark_thread
stop_machine_unpark