Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:preempt_schedule_common

Proto:static void __sched notrace preempt_schedule_common(void)

Type:void

Parameter:Nothing

4225  Do
4239  preempt_disable_notrace()
4240  preempt_latency_start(1)
4241  __schedule() is the main scheduler function.* The main means of driving the scheduler and thus entering this function are:* 1. Explicit blocking: mutex, semaphore, waitqueue, etc.* 2. TIF_NEED_RESCHED flag is checked on interrupt and userspace return
4242  preempt_latency_stop(1)
4243  preempt_enable_no_resched_notrace()
4249  When need_resched() cycle
Caller
NameDescribe
_cond_resched
__cond_resched_lock__cond_resched_lock() - if a reschedule is pending, drop the given lock,* call schedule, and on return reacquire the lock