Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Express the locking dependencies for lockdep:

Proto:static inline void double_lock_hb(struct futex_hash_bucket *hb1, struct futex_hash_bucket *hb2)

Type:void

Parameter:

TypeParameterName
struct futex_hash_bucket *hb1
struct futex_hash_bucket *hb2
1634  If hb1 <= hb2 Then
1635  spin_lock( & lock)
1636  If hb1 < hb2 Then spin_lock_nested( & lock, For trivial one-depth nesting of a lock-class, the following* global define can be used. (Subsystems with multiple levels* of nesting should define their own lock-nesting subclasses.))
1638  Else
1639  spin_lock( & lock)
1640  spin_lock_nested( & lock, For trivial one-depth nesting of a lock-class, the following* global define can be used. (Subsystems with multiple levels* of nesting should define their own lock-nesting subclasses.))
Caller
NameDescribe
futex_wake_opWake up all waiters hashed on the physical page that is mapped* to this virtual address:
futex_requeueex_requeue() - Requeue waiters from uaddr1 to uaddr2*@uaddr1: source futex user address*@flags: futex flags (FLAGS_SHARED, etc