git: acpi/cstate: Match C-states of the hyperthreads on the same core

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Wed Mar 18 05:20:36 PDT 2015


commit daa63909298d0c4043adbe1eeaf4e0e729ec1f22
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Mon Mar 16 22:23:06 2015 +0800

    acpi/cstate: Match C-states of the hyperthreads on the same core
    
    Some stupid BIOSes set different C-states for hyperthreads on the same
    core, which prevents the core from entering deep C-states, since not
    all hyperthreads of the core are in the deep C-states.
    
    We fix this by using same number of C-states for hyperthreads on the
    same core; the hyperthread w/ more C-states is taken as master.

Summary of changes:
 sys/dev/acpica/acpi_cpu_cstate.c | 76 +++++++++++++++++++++++++++++++++++++++-
 1 file changed, 75 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/daa63909298d0c4043adbe1eeaf4e0e729ec1f22


-- 
DragonFly BSD source repository



More information about the Commits mailing list