Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bfq-iosched.c Create Date:2022-07-28 17:55:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bfq_arm_slice_timer

Proto:static void bfq_arm_slice_timer(struct bfq_data *bfqd)

Type:void

Parameter:

TypeParameterName
struct bfq_data *bfqd
2957  bfqq = bfq_queue in service
2960  bfq_mark_bfqq_wait_request(bfqq)
2967  sl = maximum idling time
2978  If BFQQ_SEEKY(bfqq) && actor by which the weight of this queue is multiplied == 1 && Not The following function returns false either if every active queue* must receive the same share of the throughput (symmetric scenario),* or, as a special case, if bfqq must receive a share of the* throughput lower than or equal to the share that every Then sl = min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(u64, sl, Below this threshold (in ns), we consider thinktime immediate. )
2981  Else if actor by which the weight of this queue is multiplied > 1 Then sl = max_t - return maximum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(u32, sl, 20ULL * NSEC_PER_MSEC)
2984  beginning of the last idle slice = ktime_get()
2985  last_idling_start_jiffies = jiffies
2987  hrtimer_start - (re)start an hrtimer*@timer: the timer to be added*@tim: expiry time*@mode: timer mode: absolute (HRTIMER_MODE_ABS) or* relative (HRTIMER_MODE_REL), and pinned (HRTIMER_MODE_PINNED);* softirq based mode is considered for debug purpose only!
2989  bfqg_stats_set_start_idle_time(bfqq_group(bfqq))
Caller
NameDescribe
bfq_completed_request