powerd: Rework cpu and cpu power domain selection
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 4 Jul 2015 16:33:14 +0000 (00:33 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 10 Jul 2015 01:26:42 +0000 (09:26 +0800)
commita4c3bf5ed71daaf9b047fbf5caaaa04069500927
tree6303ba4d0cecb55adbb732a7335df36ae21e10c0
parent7dc78669e8e5968f18ec562d7ad1e62046d248ba
powerd: Rework cpu and cpu power domain selection

Since some kernel threads are bound to the specific cpus, e.g.
network threads, so we need to take this into consideration when
cpus are selected to increase their performance.  And cpu power
domain selection is adjusted accordingly.
usr.sbin/powerd/powerd.c