Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sched_dl_do_global

Proto:void sched_dl_do_global(void)

Type:void

Parameter:Nothing

2514  new_bw = -1
2519  dl_period = global_rt_period()
2520  dl_runtime = global_rt_runtime()
2522  If global_rt_runtime() != Single value that denotes runtime == period, ie unlimited time. Then new_bw = to_ratio(global_rt_period(), global_rt_runtime())
2528  for_each_possible_cpu(cpu)
2529  _read_lock_sched() - mark the beginning of a RCU-sched critical section* This is equivalent of rcu_read_lock(), but disables preemption.* Read-side critical sections can also be introduced by anything else
2530  dl_b = dl_bw_of(cpu)
2532  raw_spin_lock_irqsave( & lock, flags)
2533  bw = new_bw
2534  raw_spin_unlock_irqrestore( & lock, flags)
2536  _read_unlock_sched - marks the end of a RCU-classic critical section* See rcu_read_lock_sched for more information.
2537  init_dl_rq_bw_ratio( & dl)
Caller
NameDescribe
sched_rt_handler