Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:compat_exit_robust_list

Proto:static void compat_exit_robust_list(struct task_struct *curr)

Type:void

Parameter:

TypeParameterName
struct task_struct *curr
3980  __user * head = compat_robust_list
3981  __user * entry
3982  limit = This limit protects against a deliberately circular list.* (Not worth introducing an rlimit for it)
3983  next_pi = next_pi
3988  If Not futex_cmpxchg_enabled Then Return
3995  If Fetch a robust-list pointer. Bit 0 signals PI futexes: Then Return
4000  If Get a simple variable from user space(futex_offset, & futex_offset) Then Return
4006  If Fetch a robust-list pointer. Bit 0 signals PI futexes: Then Return
4010  next_entry = NULL
4011  When (entry != (struct robust_list __user * ) & list) cycle
4016  rc = Fetch a robust-list pointer. Bit 0 signals PI futexes:
4022  If entry != pending Then
4029  If rc Then Return
4031  uentry = next_uentry
4032  entry = next_entry
4033  pi = next_pi
4037  If Not --limit Then Break
4040  cond_resched()
4042  If pending Then
4043  __user * uaddr = futex_uaddr(pending, futex_offset)
4045  Process a futex-list entry, check whether it's owned by the* dying task, and do notification if so:
Caller
NameDescribe
futex_cleanup