/* Return a multiplier for the exit latency that is intended to take performance requirements into account. The more performance critical we estimate the system to be, the higher this multiplier, and thus the higher the barrier to go to an expensive C state.  */
static int performance_multiplier(void)
/* Return a multiplier for the exit latency that is intended to take performance requirements into account. The more performance critical we estimate the system to be, the higher this multiplier, and thus the higher the barrier to go to an expensive C state.  */
static int performance_multiplier(void)
{
	int mult = 1;
	mult += 2 * get_loadavg();
	mult += 10 * nr_iowait_cpu();
	return mult;
}