Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\core.c Create Date:2022-07-28 13:34:22
Last Modify:2022-05-20 07:50:19 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:find_lively_task_by_vpid

Proto:static struct task_struct *find_lively_task_by_vpid(pid_t vpid)

Type:struct task_struct

Parameter:

TypeParameterName
pid_tvpid
4247  _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
4248  If Not vpid Then task = current process
4250  Else task = find_task_by_vpid(vpid)
4252  If task Then get_task_struct(task)
4254  _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()
4256  If Not task Then Return ERR_PTR( - ESRCH)
4259  Return task