git: kernel - minor cpu idle statistics adjustment

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Jul 16 22:19:06 PDT 2014


commit 4205ad279e7a0fa283832e87513de43ce229efa7
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Jul 16 22:17:19 2014 -0700

    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.

Summary of changes:
 sys/kern/kern_clock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4205ad279e7a0fa283832e87513de43ce229efa7


-- 
DragonFly BSD source repository



More information about the Commits mailing list