Searched refs:cost (Results 1 – 2 of 2) sorted by relevance
/block/ |
D | blk-iocost.c | 720 static u64 cost_to_abs_cost(u64 cost, u32 hw_inuse) in cost_to_abs_cost() argument 722 return DIV64_U64_ROUND_UP(cost * hw_inuse, WEIGHT_ONE); in cost_to_abs_cost() 726 u64 abs_cost, u64 cost) in iocg_commit_bio() argument 730 bio->bi_iocost_cost = cost; in iocg_commit_bio() 731 atomic64_add(cost, &iocg->vtime); in iocg_commit_bio() 1405 u64 cost = abs_cost_to_cost(wait->abs_cost, ctx->hw_inuse); in iocg_wake_fn() local 1407 ctx->vbudget -= cost; in iocg_wake_fn() 1412 iocg_commit_bio(ctx->iocg, wait->bio, wait->abs_cost, cost); in iocg_wake_fn() 2435 u64 cost, new_inuse; in adjust_inuse_and_calc_cost() local 2440 cost = abs_cost_to_cost(abs_cost, hwi); in adjust_inuse_and_calc_cost() [all …]
|
D | Kconfig | 155 bool "Enable support for cost model based cgroup IO controller" 160 Enabling this option enables the .weight interface for cost 180 is mostly useful for kernel developers, but it doesn't incur any cost
|