函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\kthread.c Create Date:2022-07-27 10:30:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:void kthread_unpark(struct task_struct *k)

返回类型:void

参数:

类型参数名称
struct task_struct *k
474  kthread等于to_kthread(k)
480  如果st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from__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: )
调用者
名称描述
kthread_stop结束线程的运行
smpboot_unpark_thread
stop_machine_unpark