git: kernel - Try to idle cpus when in panic()

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Dec 5 09:22:31 PST 2016


commit 63cff0361caa40216fcb16f79855de833431274b
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Dec 5 09:21:19 2016 -0800

    kernel - Try to idle cpus when in panic()
    
    * Try to use MONITOR/MWAIT to idle cpus while they are stopped in a panic(),
      instead of hard-looping.  This significantly reduces power consumption while
      in a paniced state and is particularly helpful on laptops.
    
    Reported-by: tuxillo

Summary of changes:
 sys/kern/lwkt_thread.c             |  1 +
 sys/platform/pc64/x86_64/machdep.c | 22 ++++++++++++++++++++++
 sys/sys/systm.h                    |  1 +
 3 files changed, 24 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/63cff0361caa40216fcb16f79855de833431274b


-- 
DragonFly BSD source repository



More information about the Commits mailing list