Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\core.c Create Date:2022-07-28 09:36:10
Last Modify:2022-05-22 13:40:38 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:schedule_preempt_disabled - called with preemption disabled* Returns with preemption disabled. Note: preempt_count must be 1

Proto:void __sched schedule_preempt_disabled(void)

Type:void

Parameter:Nothing

4218  sched_preempt_enable_no_resched()
4219  schedule()
4220  Even if we don't have any preemption, we need preempt disable/enable* to be barriers, so that we don't have things like get_user/put_user* that can cause faults and scheduling migrate into our preempt-protected* region.()
Caller
NameDescribe
__mutex_lock_commonLock a mutex (possibly interruptible), slowpath: