Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\deadline.c Create Date:2022-07-28 09:40:20
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:check_preempt_curr_dl

Proto:static void check_preempt_curr_dl(struct rq *rq, struct task_struct *p, int flags)

Type:void

Parameter:

TypeParameterName
struct rq *rq
struct task_struct *p
intflags
1719  If Tells if entity @a should preempt entity @b. Then
1720  sched_curr - mark rq's current task 'to be rescheduled now'.* On UP this means the setting of the need_resched flag, on SMP it* might also involve a cross-CPU call to trigger the scheduler on* the target CPU.
1721  Return
Caller
NameDescribe
dl_task_timerThis is the bandwidth enforcement timer callback
switched_to_dlWhen switching to -deadline, we may overload the rq, then* we try to push someone off, if possible.