Home
last modified time | relevance | path

Searched refs:MIN_SHARES (Results 1 - 2 of 2) sorted by relevance

/device/soc/rockchip/common/sdk_linux/kernel/sched/
H A Dsched.h520 #define MIN_SHARES (1UL << 1) macro
H A Dfair.c3339 * MIN_SHARES has to be unscaled here to support per-CPU partitioning in calc_group_shares()
3346 * to be 15*1024*1/8=1920 instead of scale_load(MIN_SHARES)=2*1024. In in calc_group_shares()
3347 * case no task is runnable on a CPU MIN_SHARES=2 should be returned in calc_group_shares()
3350 return clamp_t(long, shares, MIN_SHARES, tg_shares); in calc_group_shares()
11999 shares = clamp(shares, scale_load(MIN_SHARES), scale_load(MAX_SHARES)); in sched_group_set_shares()

Completed in 19 milliseconds