git: perfbias: Implement Intel performance-energy hint support

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sat Feb 8 01:33:02 PST 2014


commit 73e10c03da7b1b0364d1889cf2ac2231f26ee9a8
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Fri Feb 7 21:16:59 2014 +0800

    perfbias: Implement Intel performance-energy hint support
    
    This hint is set on per-logical CPU.  0 delivers highest performance;
    15 maximizes energy saving.  It could be set through sysctl nodes
    machdep.perfbiasX (X is the CPU id).
    
    It is linked into i386 and x86_64 GENERIC kernel.
    
    * We may want to make powerd(8) to aware of these sysctls.

Summary of changes:
 sys/conf/files                       |   1 +
 sys/config/GENERIC                   |   2 +
 sys/config/LINT                      |   3 +
 sys/config/LINT64                    |   3 +
 sys/config/X86_64_GENERIC            |   3 +
 sys/dev/powermng/Makefile            |   2 +-
 sys/dev/powermng/perfbias/Makefile   |   4 +
 sys/dev/powermng/perfbias/perfbias.c | 194 +++++++++++++++++++++++++++++++++++
 8 files changed, 211 insertions(+), 1 deletion(-)
 create mode 100644 sys/dev/powermng/perfbias/Makefile
 create mode 100644 sys/dev/powermng/perfbias/perfbias.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/73e10c03da7b1b0364d1889cf2ac2231f26ee9a8


-- 
DragonFly BSD source repository



More information about the Commits mailing list