git: CPU Topology: add support for Compute Units on AMD processors

Mihai Carabas mihaic at crater.dragonflybsd.org
Wed Feb 12 02:05:32 PST 2014


commit 0e9325d31b6028ca6ff16257e2568da103111fcc
Author: Mihai Carabas <mihai.carabas at gmail.com>
Date:   Wed Feb 12 13:10:38 2014 +0200

    CPU Topology: add support for Compute Units on AMD processors
    
    Detect shared compute units between cores on AMD processors and downgrade
    them to THREAD_LEVEL in the logical CPU topology used by the
    scheduler.

Summary of changes:
 sys/cpu/x86_64/include/specialreg.h   |   1 +
 sys/kern/subr_cpu_topology.c          | 110 +++++++++++++++++++++++++++++-----
 sys/kern/usched_dfly.c                |  18 +++---
 sys/platform/pc64/include/smp.h       |   3 +
 sys/platform/pc64/x86_64/mp_machdep.c |  33 ++++++++++
 sys/sys/cpu_topology.h                |   5 +-
 6 files changed, 145 insertions(+), 25 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0e9325d31b6028ca6ff16257e2568da103111fcc


-- 
DragonFly BSD source repository



More information about the Commits mailing list