From owner-cvs-all Wed Mar 6 22: 1:49 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3823437B431; Wed, 6 Mar 2002 22:01:41 -0800 (PST) Received: (from jake@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2761fJ50046; Wed, 6 Mar 2002 22:01:41 -0800 (PST) (envelope-from jake) Message-Id: <200203070601.g2761fJ50046@freefall.freebsd.org> From: Jake Burkholder Date: Wed, 6 Mar 2002 22:01:41 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sparc64/include smp.h tlb.h src/sys/sparc64/sparc64 bus_machdep.c genassym.c machdep.c mp_exception.s mp_locore.s mp_machdep.c pmap.c pv.c trap.c tsb.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jake 2002/03/06 22:01:41 PST Modified files: sys/sparc64/include smp.h tlb.h sys/sparc64/sparc64 bus_machdep.c genassym.c machdep.c mp_exception.s mp_locore.s mp_machdep.c pmap.c pv.c trap.c tsb.c Log: Implement delivery of tlb shootdown ipis. This is currently more fine grained than the other implementations; we have complete control over the tlb, so we only demap specific pages. We take advantage of the ranged tlb flush api to send one ipi for a range of pages, and due to the pm_active optimization we rarely send ipis for demaps from user pmaps. Remove now unused routines to load the tlb; this is only done once outside of the tlb fault handlers. Minor cleanups to the smp startup code. This boots multi user with both cpus active on a dual ultra 60 and on a dual ultra 2. Revision Changes Path 1.8 +37 -24 src/sys/sparc64/include/smp.h 1.14 +66 -145 src/sys/sparc64/include/tlb.h 1.6 +2 -0 src/sys/sparc64/sparc64/bus_machdep.c 1.27 +4 -2 src/sys/sparc64/sparc64/genassym.c 1.41 +2 -0 src/sys/sparc64/sparc64/machdep.c 1.2 +68 -53 src/sys/sparc64/sparc64/mp_exception.s 1.3 +23 -15 src/sys/sparc64/sparc64/mp_locore.s 1.4 +18 -9 src/sys/sparc64/sparc64/mp_machdep.c 1.40 +17 -7 src/sys/sparc64/sparc64/pmap.c 1.13 +2 -0 src/sys/sparc64/sparc64/pv.c 1.28 +2 -0 src/sys/sparc64/sparc64/trap.c 1.17 +2 -0 src/sys/sparc64/sparc64/tsb.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message