Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\context_tracking.c Create Date:2022-07-28 13:49:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ext_tracking_exit - Inform the context tracking that the CPU is* exiting user or guest mode and entering the kernel

Proto:void __context_tracking_exit(enum ctx_state state)

Type:void

Parameter:

TypeParameterName
enum ctx_statestate
147  If Not context_tracking_recursion_enter() Then Return
150  If Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(state) == state Then
156  rcu_user_exit()
157  If state == CONTEXT_USER Then
162  __this_cpu_write(state, CONTEXT_KERNEL)
164  context_tracking_recursion_exit()
Caller
NameDescribe
context_tracking_exit