[Pm-utils] [patch commit] [011] POSIXification of pm-utils

Michael Biebl mbiebl at gmail.com
Sun Jan 27 19:04:52 PST 2008


2008/1/28, Victor Lowther <victor.lowther at gmail.com>:

> > And to change the default governor during suspend/hibernate, I'd say
> > you have to use
> >
> > --- a/pm/functions
> > +++ b/pm/functions
> > @@ -15,7 +15,7 @@ HIBERNATE_RESUME_POST_VIDEO=no
> >  INHIBIT=/var/run/pm-utils.inhibit
> >  PM_LOGFILE=${PM_LOGFILE:=/var/log/pm-suspend.log}
> >  SUSPEND_MODULES=""
> > -TEMPORARY_CPUFREQ_GOVERNOR="userspace"
> > +TEMPORARY_CPUFREQ_GOVERNOR="performance"
> >
> >  # Use c sort order
> >  export LC_COLLATE=C
> >
> > || gov="performance" is only a fallback.
>
> Precisely.  The code I have is by design -- performance is the
> fallback governor.  The commit comment is incorrect in this case. :)

Hm, but I'd say performance shouldn't be the fallback but the default.
I mean, we want to hibernate/suspend as quickly as possible, right?
Why should we use userspace then as TEMPORARY_CPUFREQ_GOVERNOR ?

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?


More information about the Pm-utils mailing list