[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	tedu_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2009/02/02 18:52:49

Modified files:
	usr.sbin/apmd  : apmd.c 

Log message:
the prevalence of multi-core laptops revealed that taking the cpu average is
a poor way to adjust performance.  Even with a cpu pegged, apmd is quite slow
to react.  Change things to consider min idle time, not average.
Mostly from a diff by Laurence Tratt