Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Empty burst list and add just bfqq (see comments on bfq_handle_burst)

Proto:static void bfq_reset_burst_list(struct bfq_data *bfqd, struct bfq_queue *bfqq)

Type:void

Parameter:

TypeParameterName
struct bfq_data *bfqd
struct bfq_queue *bfqq
1073  hlist_for_each_entry_safe - iterate over list of given type safe against removal of list entry*@pos: the type * to use as a loop cursor.*@n: another &struct hlist_node to use as temporary storage*@head: the head for your list.(item, n, & * Head of the burst list (as for the above fields, more * details in the comments on the function bfq_handle_burst)., burst_list_node)
1074  hlist_del_init( & de for the device's burst list )
1081  If bfq_tot_busy_queues(bfqd) == 0 Then
1082  hlist_add_head( & de for the device's burst list , & * Head of the burst list (as for the above fields, more * details in the comments on the function bfq_handle_burst).)
1083  number of queues in the current burst of queue activations = 1
1084  Else number of queues in the current burst of queue activations = 0
1087  common parent entity for the queues in the burst = parent entity, for hierarchical scheduling
Caller
NameDescribe
bfq_handle_burstIf many queues belonging to the same group happen to be created* shortly after each other, then the processes associated with these* queues have typically a common goal