Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rseq.c Create Date:2022-07-28 13:50:40
Last Modify:2022-05-20 08:09:32 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Restartable sequences are a lightweight interface that allows* user-level code to be executed atomically relative to scheduler* preemption and signal delivery

Proto:static int rseq_update_cpu_id(struct task_struct *t)

Type:int

Parameter:

TypeParameterName
struct task_struct *t
86  cpu_id = These macros fold the SMP functionality into a single CPU system()
88  If Write a simple value into user space(cpu_id, & cpu_id_start) Then Return -EFAULT
90  If Write a simple value into user space(cpu_id, & cpu_id) Then Return -EFAULT
92  trace_rseq_update(t)
93  Return 0
Caller
NameDescribe
__rseq_handle_notify_resumeThis resume handler must always be executed between any of:* - preemption,* - signal delivery,* and return to user-space