Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 May 2006 23:18:02 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 97543 for review
Message-ID:  <200605202318.k4KNI2sJ010880@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=97543

Change 97543 by kmacy@kmacy_storage:sun4v_work on 2006/05/20 23:17:58

	turn PMAP_DEBUG back on for now - turning it off causes problems
	don't zero hash in tte_hash_reset

Affected files ...

.. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/pmap.c#52 edit
.. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/tte_hash.c#35 edit

Differences ...

==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/pmap.c#52 (text+ko) ====

@@ -74,7 +74,7 @@
 
 #include <machine/hypervisor_api.h>
 
-#if 0
+#if 1
 #define	PMAP_DEBUG
 #endif
 #ifndef	PMAP_SHPGPERPROC

==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/tte_hash.c#35 (text+ko) ====

@@ -239,7 +239,7 @@
 
 	if (th->th_entries != 0)
 		panic("%d remaining entries", th->th_entries);
-#ifndef DONT_SCRUB_ENTRIES	
+#ifdef SCRUB_ON_RESET
 	pmap_scrub_pages(TLB_DIRECT_TO_PHYS((vm_offset_t)th->th_hashtable), th->th_size*PAGE_SIZE); 
 #endif
 }



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