函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Can we use the FPU in kernel mode with the* whole "kernel_fpu_begin/end()" sequence?* It's always ok in process context (ie "not interrupt")* but it is sometimes ok even from an irq.

函数原型:bool irq_fpu_usable(void)

返回类型:bool

参数:

79  返回:非in_interrupt()或Were we in user mode (or vm86 mode) when we were* interrupted?* Doing kernel_fpu_begin/end() is ok if we are running* in an interrupt context from user mode - we'll just* save the FPU state as required.interrupted_kernel_fpu_idle()
调用者
名称描述
kernel_fpu_begin