函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched.h Create Date:2022-07-27 06:58:36
Last Modify:2021-07-28 10:30:23 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:In order to reduce various lock holder preemption latencies provide an* interface to see if a vCPU is currently running or not

函数原型:static inline bool vcpu_is_preempted(int cpu)

返回类型:bool

参数:

类型参数名称
intcpu
1867  返回:false
调用者
名称描述
available_idle_cpuavailable_idle_cpu - is a given CPU idle for enqueuing work.*@cpu: the CPU in question.* Return: 1 if the CPU is currently idle. 0 otherwise.
osq_lock