函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:准备休眠的进程

函数原型:void wq_worker_sleeping(struct task_struct *task)

返回类型:void

参数:

类型参数名称
struct task_struct *task
865  worker等于kthread_data(task)
873  如果X: flags 按位与WORKER_NOT_RUNNING则返回
876  pool等于A: the associated pool
878  如果WARN_ON_ONCE(None )则返回
881  None 等于1
882  spin_lock_irq( & he pool lock )
895  如果atomic_dec_and_test( & The current concurrency level. As it's likely to be accessed* from other CPUs during try_to_wake_up(), put it in a separate* cacheline.)且非链表为空
897  next等于Return the first idle worker. Safe with preemption disabled
898  如果next唤醒中断线程
901  spin_unlock_irq( & he pool lock )
调用者
名称描述
sched_submit_work