函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:swake_up_one

函数原型:void swake_up_one(struct swait_queue_head *q)

返回类型:void

参数:

类型参数名称
struct swait_queue_head *q
39  raw_spin_lock_irqsave( & lock, flags)
40  The thing about the wake_up_state() return value; I think we can ignore it.* If for some reason it would return 0, that means the previously waiting* task is already running, so it will observe condition true (or has already).
41  raw_spin_unlock_irqrestore( & lock, flags)
调用者
名称描述
s2idle_wake
__srcu_read_unlockRemoves the count for the old reader from the appropriate element of* the srcu_struct.
rcu_gp_kthread_wakeAwaken the grace-period kthread
apf_task_wake_one
__rcu_report_exp_rnpReport the exit from RCU read-side critical section for the last task* that queued itself during or before the current expedited preemptible-RCU* grace period