Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\signal.c Create Date:2022-07-28 09:15:47
Last Modify:2020-03-17 13:28:47 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__lock_task_sighand

Proto:struct sighand_struct *__lock_task_sighand(struct task_struct *tsk, unsigned long *flags)

Type:struct sighand_struct

Parameter:

TypeParameterName
struct task_struct *tsk
unsigned long *flags
1368  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
1369  cycle
1370  sighand = fetch RCU-protected pointer for dereferencing(sighand)
1371  If Value for the false possibility is greater at compile time(sighand == NULL) Then Break
1385  spin_lock_irqsave( & siglock, * flags)
1386  If Value is more likely to compile time(sighand == sighand) Then Break
1388  spin_unlock_irqrestore( & siglock, * flags)
1390  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
1392  Return sighand
Caller
NameDescribe
lock_task_sighand