DragonFly BSD
DragonFly kernel List (threaded) for 2011-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: git: powerd: Wait hw.acpi.cpu.px_dom* sysctl to be created by kernel


From: Thomas Nikolajsen <thomas.nikolajsen@xxxxxxx>
Date: Sun, 15 May 2011 23:54:06 +0200

>commit 8db2b57665ff7b54aeb3592197587759b5a7eb5e
>Author: Sepherosa Ziehau <sephe@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




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