From owner-p4-projects Sat Aug 10 0:34: 8 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 6744037B406; Sat, 10 Aug 2002 00:34:01 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DDF7937B401 for ; Sat, 10 Aug 2002 00:34:00 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F41EA43EAA for ; Sat, 10 Aug 2002 00:33:59 -0700 (PDT) (envelope-from peter@freebsd.org) Received: from freefall.freebsd.org (perforce@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7A7XxJU073277 for ; Sat, 10 Aug 2002 00:33:59 -0700 (PDT) (envelope-from peter@freebsd.org) Received: (from perforce@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7A7Xx8j073274 for perforce@freebsd.org; Sat, 10 Aug 2002 00:33:59 -0700 (PDT) Date: Sat, 10 Aug 2002 00:33:59 -0700 (PDT) Message-Id: <200208100733.g7A7Xx8j073274@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to peter@freebsd.org using -f From: Peter Wemm Subject: PERFORCE change 15773 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://people.freebsd.org/~peter/p4db/chv.cgi?CH=15773 Change 15773 by peter@peter_overcee on 2002/08/10 00:33:16 revert to freebsd Affected files ... .. //depot/projects/pmap/sys/i386/i386/pmap.c#30 edit Differences ... ==== //depot/projects/pmap/sys/i386/i386/pmap.c#30 (text+ko) ==== @@ -2738,13 +2738,6 @@ { vm_offset_t phys; - /* - * Note that we do not use PG_G here, in case we get preempted - * and end up on another CPU. In doing so, we will have had an - * implied invltlb() by the cpu_switch() routine. This only works - * if we do not use PG_G here. With this concession, we do not - * need to do any IPI shootdowns from here. - */ phys = VM_PAGE_TO_PHYS(m); if (*CMAP2) panic("pmap_zero_page: CMAP2 busy"); @@ -2780,13 +2773,6 @@ { vm_offset_t phys; - /* - * Note that we do not use PG_G here, in case we get preempted - * and end up on another CPU. In doing so, we will have had an - * implied invltlb() by the cpu_switch() routine. This only works - * if we do not use PG_G here. With this concession, we do not - * need to do any IPI shootdowns from here. - */ phys = VM_PAGE_TO_PHYS(m); if (*CMAP2) panic("pmap_zero_page: CMAP2 busy"); @@ -2822,13 +2808,6 @@ { vm_offset_t phys; - /* - * Note that we do not use PG_G here, in case we get preempted - * and end up on another CPU. In doing so, we will have had an - * implied invltlb() by the cpu_switch() routine. This only works - * if we do not use PG_G here. With this concession, we do not - * need to do any IPI shootdowns from here. - */ phys = VM_PAGE_TO_PHYS(m); if (*CMAP3) panic("pmap_zero_page: CMAP3 busy"); @@ -2987,7 +2966,7 @@ if (tpte == 0) { printf("TPTE at %p IS ZERO @ VA %08x\n", pte, pv->pv_va); - panic("bad peter"); + panic("bad pte"); } /* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message