smartmax: cpuquiet: squashed latest changes