git: powerd: Wait hw.acpi.cpu.px_dom* sysctl to be created by kernel
Thomas Nikolajsen
thomas.nikolajsen at mail.dk
Sun May 15 14:57:23 PDT 2011
>commit 8db2b57665ff7b54aeb3592197587759b5a7eb5e
>Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
>Date: Sun Apr 17 15:00:54 2011 +0800
>
> powerd: Wait hw.acpi.cpu.px_dom* sysctl to be created by kernel
>
> Since hw.acpi.cpu.px_dom* creation is queued into ACPI taskqueue
> and ACPI taskqueue is shared across various ACPI modules, any delay
> in other modules may cause hw.acpi.cpu.px_dom* to be created at
> quite a later time (e.g. cmbat module's task could take quite a lot
> of time).
A timeout would be nice, for now powerd(8) will wait indefinite
if hw.acpi.cpu.px_dom* isn't created on system.
How long timeout is reasonable? Maybe 5 minutes; or 1 minute; or ..?
-thomas
More information about the Kernel
mailing list