Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bfq_update_bfqq_wr_on_rq_arrival

Proto:static void bfq_update_bfqq_wr_on_rq_arrival(struct bfq_data *bfqd, struct bfq_queue *bfqq, unsigned int old_wr_coeff, bool wr_or_deserves_wr, bool interactive, bool in_burst, bool soft_rt)

Type:void

Parameter:

TypeParameterName
struct bfq_data *bfqd
struct bfq_queue *bfqq
unsigned intold_wr_coeff
boolwr_or_deserves_wr
boolinteractive
boolin_burst
boolsoft_rt
1522  If old_wr_coeff == 1 && wr_or_deserves_wr Then
1524  If interactive Then
1528  Else
1557  budget, used also to calculate F_i: F_i = S_i + @budget / @weight = min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(unsignedlong, budget, used also to calculate F_i: F_i = S_i + @budget / @weight , 2 * Return min budget, which is a fraction of the current or default* max budget (trying with 1/32))
1560  Else if old_wr_coeff > 1 Then
1561  If interactive Then
1564  Else if in_burst Then actor by which the weight of this queue is multiplied = 1
1566  Else if soft_rt Then
Caller
NameDescribe
bfq_bfqq_handle_idle_busy_switch