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:Does a critical section need to be broken due to another* task waiting?: (technically does not depend on CONFIG_PREEMPTION,* but a general need for low latency)

Proto:static inline int spin_needbreak(spinlock_t *lock)

Type:int

Parameter:

TypeParameterName
spinlock_t *lock
1818  Return 0
Caller
NameDescribe
__cond_resched_lock__cond_resched_lock() - if a reschedule is pending, drop the given lock,* call schedule, and on return reacquire the lock
cgroup_rstat_flush_lockedsee cgroup_rstat_flush()
copy_pte_range