Date: Sun, 2 Mar 2008 07:58:42 +0000 (UTC) From: Jeff Roberson <jeff@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/amd64/amd64 identcpu.c mp_machdep.c src/sys/amd64/include smp.h src/sys/i386/i386 identcpu.c mp_machdep.c src/sys/i386/include smp.h src/sys/ia64/ia64 mp_machdep.c src/sys/kern sched_ule.c subr_smp.c ... Message-ID: <200803020758.m227wgH9040483@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jeff 2008-03-02 07:58:42 UTC
FreeBSD src repository
Modified files:
sys/amd64/amd64 identcpu.c mp_machdep.c
sys/amd64/include smp.h
sys/i386/i386 identcpu.c mp_machdep.c
sys/i386/include smp.h
sys/ia64/ia64 mp_machdep.c
sys/kern sched_ule.c subr_smp.c
sys/powerpc/powerpc mp_machdep.c
sys/sparc64/sparc64 mp_machdep.c
sys/sun4v/sun4v mp_machdep.c
sys/sys smp.h
Log:
- Remove the old smp cpu topology specification with a new, more flexible
tree structure that encodes the level of cache sharing and other
properties.
- Provide several convenience functions for creating one and two level
cpu trees as well as a default flat topology. The system now always
has some topology.
- On i386 and amd64 create a seperate level in the hierarchy for HTT
and multi-core cpus. This will allow the scheduler to intelligently
load balance non-uniform cores. Presently we don't detect what level
of the cache hierarchy is shared at each level in the topology.
- Add a mechanism for testing common topologies that have more information
than the MD code is able to provide via the kern.smp.topology tunable.
This should be considered a debugging tool only and not a stable api.
Sponsored by: Nokia
Revision Changes Path
1.158 +7 -1 src/sys/amd64/amd64/identcpu.c
1.288 +30 -41 src/sys/amd64/amd64/mp_machdep.c
1.92 +4 -1 src/sys/amd64/include/smp.h
1.184 +6 -1 src/sys/i386/i386/identcpu.c
1.283 +30 -41 src/sys/i386/i386/mp_machdep.c
1.91 +4 -1 src/sys/i386/include/smp.h
1.68 +7 -0 src/sys/ia64/ia64/mp_machdep.c
1.225 +1 -64 src/sys/kern/sched_ule.c
1.204 +188 -14 src/sys/kern/subr_smp.c
1.14 +7 -0 src/sys/powerpc/powerpc/mp_machdep.c
1.37 +7 -0 src/sys/sparc64/sparc64/mp_machdep.c
1.9 +7 -0 src/sys/sun4v/sun4v/mp_machdep.c
1.87 +32 -9 src/sys/sys/smp.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803020758.m227wgH9040483>
