powerd: Wait hw.acpi.cpu.px_dom* sysctl to be created by kernel
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 17 Apr 2011 07:00:54 +0000 (15:00 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 17 Apr 2011 07:00:54 +0000 (15:00 +0800)
commit8db2b57665ff7b54aeb3592197587759b5a7eb5e
treeb314eb9c283240e161d0bd815f813ebe6a20e728
parent7a7d9bbd427dc2419972a0001a56101aefc68437
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).
usr.sbin/powerd/powerd.c