Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:swake_up_one

Proto:void swake_up_one(struct swait_queue_head *q)

Type:void

Parameter:

TypeParameterName
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)
Caller
NameDescribe
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