Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched.h Create Date:2022-07-28 05:59:47
Last Modify:2021-07-28 10:30:23 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:static inline bool vcpu_is_preempted(int cpu)

Type:bool

Parameter:

TypeParameterName
intcpu
1867  Return false
Caller
NameDescribe
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