[Pm-utils] Change governor to userspace to avoid suspend/resume lockups

Dan Nicholson dbn.lists at gmail.com
Sat Nov 29 12:50:27 PST 2008


Currently when suspending the computer with pm-suspend (called by
HAL), the governor is temporarily switched to userspace. The hook
looks like this:


where TEMPORARY_CPUFREQ_GOVERNOR is userspace by default. Originally,
this was being changed to performance, and the commit says that this
was to avoid lockups.


In recent kernels, are there any governors which cause lockups? If
not, how recent of a kernel would be needed to guarantee this? We're
trying to remove the amount of work done in userspace since it only
slows the suspend cycle.


More information about the Pm-utils mailing list