Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Aug 2002 00:33:59 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 15773 for review
Message-ID:  <200208100733.g7A7Xx8j073274@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208100733.g7A7Xx8j073274>