PERFORCE change 97543 for review

Kip Macy kmacy at FreeBSD.org
Sat May 20 23:18:38 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=97543

Change 97543 by kmacy at 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
 }


More information about the p4-projects mailing list