[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


Hi,

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

http://cgit.freedesktop.org/pm-utils/tree/pm/sleep.d/94cpufreq

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.

http://cgit.freedesktop.org/pm-utils/commit/?id=f32e7bcb

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.

--
Dan


More information about the Pm-utils mailing list