Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\core.c Create Date:2022-07-28 09:35:29
Last Modify:2022-05-22 13:40:38 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:wake_q_add() - queue a wakeup for 'later' waking

Proto:void wake_q_add(struct wake_q_head *head, struct task_struct *task)

Type:void

Parameter:

TypeParameterName
struct wake_q_head *head
struct task_struct *task
452  If __wake_q_add(head, task) Then get_task_struct(task)
Caller
NameDescribe
__mutex_unlock_slowpath
rwsem_mark_wakehandle the lock release when processes blocked on it that can now run* - if we come here from up_xxxx(), then the RWSEM_FLAG_WAITERS bit must* have been set
mark_wakeup_next_waiterRemove the top waiter from the current tasks pi waiter tree and* queue it up.* Called with lock->wait_lock held and interrupts disabled.
__cpu_stop_queue_work
expunge_all
pipelined_send
wake_up_sem_queue_prepare
pipelined_sendpipelined_send() - send a message directly to the task waiting in* sys_mq_timedreceive() (without inserting message into a queue).
pipelined_receivepipelined_receive() - if there is task waiting in sys_mq_timedsend()* gets its message and put to the queue (we have one free place for sure).