Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:PI code:

Proto:static int refill_pi_state_cache(void)

Type:int

Parameter:Nothing

814  If Value is more likely to compile time(pi_state_cache) Then Return 0
817  pi_state = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).
819  If Not pi_state Then Return -ENOMEM
822  Initialization list head
824  owner = NULL
825  _set - set a refcount's value*@r: the refcount*@n: value to which the refcount will be set
826  key =
828  pi_state_cache = pi_state
830  Return 0
Caller
NameDescribe
futex_requeueex_requeue() - Requeue waiters from uaddr1 to uaddr2*@uaddr1: source futex user address*@flags: futex flags (FLAGS_SHARED, etc
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