Home
last modified time | relevance | path

Searched refs:scale_load (Results 1 – 3 of 3) sorted by relevance

/linux/kernel/sched/
H A Dautogroup.c258 shares = scale_load(sched_prio_to_weight[idx]); in proc_sched_autogroup_set_nice()
H A Dsched.h148 # define scale_load(w) ((w) << SCHED_FIXEDPOINT_SHIFT) macro
159 # define scale_load(w) (w) macro
166 * scale_load() and scale_load_down(w) to convert between them. The
169 * scale_load(sched_prio_to_weight[NICE_TO_PRIO(0)-MAX_RT_PRIO]) == NICE_0_LOAD
H A Dfair.c3935 * E.g. on 64-bit for a group with tg->shares of scale_load(15)=15*1024 in calc_group_shares()
3937 * to be 15*1024*1/8=1920 instead of scale_load(MIN_SHARES)=2*1024. In in calc_group_shares()
13402 shares = clamp(shares, scale_load(MIN_SHARES), scale_load(MAX_SHARES)); in __sched_group_set_shares()
13497 __sched_group_set_shares(tg, scale_load(WEIGHT_IDLEPRIO)); in sched_group_set_idle()