From owner-cvs-src@FreeBSD.ORG Sun Mar 2 07:58:42 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 881DF106566B; Sun, 2 Mar 2008 07:58:42 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 799D68FC19; Sun, 2 Mar 2008 07:58:42 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m227wgtl040484; Sun, 2 Mar 2008 07:58:42 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m227wgH9040483; Sun, 2 Mar 2008 07:58:42 GMT (envelope-from jeff) Message-Id: <200803020758.m227wgH9040483@repoman.freebsd.org> From: Jeff Roberson Date: Sun, 2 Mar 2008 07:58:42 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: 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 ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Mar 2008 07:58:42 -0000 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