Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Return true if bfqq is in a higher priority class, or has a higher* weight than the in-service queue.

Proto:static bool bfq_bfqq_higher_class_or_weight(struct bfq_queue *bfqq, struct bfq_queue *in_serv_bfqq)

Type:bool

Parameter:

TypeParameterName
struct bfq_queue *bfqq
struct bfq_queue *in_serv_bfqq
1630  If current ioprio and ioprio class < current ioprio and ioprio class Then Return true
1633  If parent entity, for hierarchical scheduling == parent entity, for hierarchical scheduling Then
1634  bfqq_weight = weight of the queue
1635  in_serv_weight = weight of the queue
1636  Else
1637  If parent entity, for hierarchical scheduling Then bfqq_weight = weight of the queue
1639  Else bfqq_weight = weight of the queue
1641  If parent entity, for hierarchical scheduling Then in_serv_weight = weight of the queue
1643  Else in_serv_weight = weight of the queue
1647  Return bfqq_weight > in_serv_weight
Caller
NameDescribe
bfq_bfqq_handle_idle_busy_switch