Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\fair.c Create Date:2022-07-28 09:37:59
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:update_load_add

Proto:static inline void update_load_add(struct load_weight *lw, unsigned long inc)

Type:void

Parameter:

TypeParameterName
struct load_weight *lw
unsigned longinc
123  weight += inc
124  inv_weight = 0
Caller
NameDescribe
sched_sliceWe calculate the wall-time slice from the period by taking a part* proportional to the weight.* s = p*P[w/rw]
account_entity_enqueue