Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Activate the current task's in-memory FPU context,* if it has not been used before:

Proto:static void fpu__initialize(struct fpu *fpu)

Type:void

Parameter:

TypeParameterName
struct fpu *fpu
216  WARN_ON_FPU(fpu != & fpu)
218  set_thread_flag(load FPU on return to userspace )
219  fpstate_init( & @state:* In-memory copy of all FPU registers that we save/restore* over context switches. If the task is using the FPU then* the registers in the FPU are more recent than this state* copy. If the task context-switches away then they get)
220  trace_x86_fpu_init_state(fpu)
Caller
NameDescribe
fpu__clearClear the FPU state back to init state.* Called by sys_execve(), by the signal handler code and by various* error paths.