函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\fpu\core.c Create Date:2022-07-27 08:49:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Drops current FPU state: deactivates the fpregs and* the fpstate. NOTE: it still leaves previous contents* in the fpregs in the eager-FPU case.* This function can be used in cases where we know that* a state-restore is coming: either an explicit one,

函数原型:void fpu__drop(struct fpu *fpu)

返回类型:void

参数:

类型参数名称
struct fpu *fpu
278  禁止抢占()
280  如果fpu恒等于fpu
282  asm volatile
285  These generally need preemption protection to work,* do try to avoid using these on their own:
288  trace_x86_fpu_dropped(fpu)
290  禁用抢占和中断()
调用者
名称描述
fpu__clearClear the FPU state back to init state.* Called by sys_execve(), by the signal handler code and by various* error paths.
exit_threadFree current thread data structures etc..