From owner-cvs-all@FreeBSD.ORG Sun Apr 13 14:54:59 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6CD037B404; Sun, 13 Apr 2003 14:54:59 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DF1C43F75; Sun, 13 Apr 2003 14:54:59 -0700 (PDT) (envelope-from jake@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h3DLsx0U022336; Sun, 13 Apr 2003 14:54:59 -0700 (PDT) (envelope-from jake@repoman.freebsd.org) Received: (from jake@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h3DLsxXs022335; Sun, 13 Apr 2003 14:54:59 -0700 (PDT) Message-Id: <200304132154.h3DLsxXs022335@repoman.freebsd.org> From: Jake Burkholder Date: Sun, 13 Apr 2003 14:54:59 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/sparc64/include pmap.h tlb.h src/sys/sparc64/sparc64 cache.c cheetah.c machdep.c pmap.c spitfire.c swtch.S tlb.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Apr 2003 21:55:00 -0000 jake 2003/04/13 14:54:59 PDT FreeBSD src repository Modified files: sys/sparc64/include pmap.h tlb.h sys/sparc64/sparc64 cache.c cheetah.c machdep.c pmap.c spitfire.c swtch.S tlb.c Log: - Move the routine for flushing all user mappings from the tlb from pmap to the cpu dependent files. It will need to be done differently for USIII. - Simplify the logic for detecting context rollovers. Instead of dealing with it when the next context switch would cause the context numbers to rollover, deal with it when they actually do rollover. - Move some things around in cpu_switch so that we only do 1 membar #Sync when switching address space, instead of 2. - Detect kernel threads by comparing the new vm space to vmspace0, instead if checking if the tlb context is 0. - Removed some debug code. Revision Changes Path 1.36 +0 -1 src/sys/sparc64/include/pmap.h 1.26 +8 -4 src/sys/sparc64/include/tlb.h 1.16 +3 -0 src/sys/sparc64/sparc64/cache.c 1.3 +7 -0 src/sys/sparc64/sparc64/cheetah.c 1.89 +0 -5 src/sys/sparc64/sparc64/machdep.c 1.109 +15 -52 src/sys/sparc64/sparc64/pmap.c 1.3 +27 -0 src/sys/sparc64/sparc64/spitfire.c 1.30 +41 -71 src/sys/sparc64/sparc64/swtch.S 1.7 +1 -25 src/sys/sparc64/sparc64/tlb.c