函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bfq-iosched.c Create Date:2022-07-27 19:31:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:There is a case where idling does not have to be performed for* throughput concerns, but to preserve the throughput share of* the process associated with bfqq

函数原型:static bool idling_needed_for_service_guarantees(struct bfq_data *bfqd, struct bfq_queue *bfqq)

返回类型:bool

参数:

类型参数名称
struct bfq_data *bfqd
struct bfq_queue *bfqq
3452  如果此条件成立可能性小(为编译器优化)(!bfqq_process_refs(bfqq))则返回:false
3455  返回:actor by which the weight of this queue is multiplied 大于1且 number of weight-raised busy @bfq_queues 小于bfq_tot_busy_queues(bfqd)或 number of requests dispatched and waiting for completion 大于等于umber of requests on the dispatch list or inside driver 加4的值或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
调用者
名称描述
__bfq_bfqq_expire
bfq_better_to_idleFor a queue that becomes empty, device idling is allowed only if* this function returns true for that queue