函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\deadline.c Create Date:2022-07-27 10:41:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:sched_dl_do_global

函数原型:void sched_dl_do_global(void)

返回类型:void

参数:

2514  new_bw等于负1
2519  dl_period等于global_rt_period()
2520  dl_runtime等于global_rt_runtime()
2522  如果global_rt_runtime()不等于Single value that denotes runtime == period, ie unlimited time.new_bw等于to_ratio(global_rt_period(), global_rt_runtime())
2528  遍历可用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  标记rcu锁结束
2537  init_dl_rq_bw_ratio( & dl)
调用者
名称描述
sched_rt_handler