Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\futex.c Create Date:2022-07-28 10:54:19
Last Modify:2020-03-17 15:28:32 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__queue_me

Proto:static inline void __queue_me(struct futex_q *q, struct futex_hash_bucket *hb)

Type:void

Parameter:

TypeParameterName
struct futex_q *q
struct futex_hash_bucket *hb
2342  prio = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(normal_prio, MAX_RT_PRIO)
2344  plist_node_init - Dynamic struct plist_node initializer*@node: &struct plist_node pointer*@prio: initial node priority
2345  plist_add - add @node to @head*@node: &struct plist_node pointer*@head: &struct plist_head pointer
2346  task = current process
Caller
NameDescribe
queue_mequeue_me() - Enqueue the futex_q on the futex_hash_bucket*@q: The futex_q to enqueue*@hb: The destination hash bucket* The hb->lock must be held by the caller, and is released here. A call to
futex_lock_piUserspace tried a 0 -> TID atomic transition of the futex value* and failed. The kernel side here does the whole locking operation:* if there are waiters then it will block as a consequence of relying* on rt-mutexes, it does PI, etc