kernel - minor cpu idle statistics adjustment
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 17 Jul 2014 05:17:19 +0000 (22:17 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 17 Jul 2014 05:17:19 +0000 (22:17 -0700)
commit4205ad279e7a0fa283832e87513de43ce229efa7
treebd9f229746e758594b1c247bb95913b7da792e2a
parent1f6708b6cc9f94c74fd97cbd39c8b7c44d817da3
kernel - minor cpu idle statistics adjustment

* Change the idlethread test from RQF_AST_LWKT_RESCHED to
  RQF_IDLECHECK_WK_MASK (which includes the first flag and adds a few more)
  to determine if the idle thread is actually idle or not.

* Should not materially change reported idle% as the original test handled
  the most common idle-thread-skips-halt case.
sys/kern/kern_clock.c