Lines Matching full:boost

198 static void sugov_get_util(struct sugov_cpu *sg_cpu, unsigned long boost)  in sugov_get_util()  argument
205 util = max(util, boost); in sugov_get_util()
211 * sugov_iowait_reset() - Reset the IO boost status of a CPU.
212 * @sg_cpu: the sugov data for the CPU to boost
214 * @set_iowait_boost: true if an IO boost has been requested
216 * The IO wait boost of a task is disabled after a tick since the last update
217 * of a CPU. If a new IO wait boost is requested after more then a tick, then
218 * we enable the boost starting from IOWAIT_BOOST_MIN, which improves energy
226 /* Reset boost only if a tick has elapsed since last request */ in sugov_iowait_reset()
237 * sugov_iowait_boost() - Updates the IO boost status of a CPU.
238 * @sg_cpu: the sugov data for the CPU to boost
247 * To keep doubling, an IO boost has to be requested at least once per tick,
255 /* Reset boost if the CPU appears to have been idle enough */ in sugov_iowait_boost()
260 /* Boost only tasks waking up after IO */ in sugov_iowait_boost()
264 /* Ensure boost doubles only one time at each request */ in sugov_iowait_boost()
269 /* Double the boost at each request */ in sugov_iowait_boost()
276 /* First wakeup after IO: start with minimum boost */ in sugov_iowait_boost()
281 * sugov_iowait_apply() - Apply the IO boost to a CPU.
282 * @sg_cpu: the sugov data for the cpu to boost
288 * The IO boost value is increased each time a task wakes up from IO, in
293 * its IO boost utilization reset.
295 * This mechanism is designed to boost high frequently IO waiting tasks, while
301 /* No boost currently required */ in sugov_iowait_apply()
305 /* Reset boost if the CPU appears to have been idle enough */ in sugov_iowait_apply()
311 * No boost pending; reduce the boost value. in sugov_iowait_apply()
375 unsigned long boost; in sugov_update_single_common() local
385 boost = sugov_iowait_apply(sg_cpu, time, max_cap); in sugov_update_single_common()
386 sugov_get_util(sg_cpu, boost); in sugov_update_single_common()
474 unsigned long boost; in sugov_next_freq_shared() local
476 boost = sugov_iowait_apply(j_sg_cpu, time, max_cap); in sugov_next_freq_shared()
477 sugov_get_util(j_sg_cpu, boost); in sugov_next_freq_shared()