svn commit: r205403 - head/sys/amd64/amd64

Alan Cox alc at FreeBSD.org
Sun Mar 21 00:22:00 UTC 2010


Author: alc
Date: Sun Mar 21 00:21:59 2010
New Revision: 205403
URL: http://svn.freebsd.org/changeset/base/205403

Log:
  Eliminate a pointless TLB invalidation from pmap_bootstrap().  No mappings
  whatsoever are changed between the earlier load_cr3() and this invalidation.

Modified:
  head/sys/amd64/amd64/pmap.c

Modified: head/sys/amd64/amd64/pmap.c
==============================================================================
--- head/sys/amd64/amd64/pmap.c	Sun Mar 21 00:13:11 2010	(r205402)
+++ head/sys/amd64/amd64/pmap.c	Sun Mar 21 00:21:59 2010	(r205403)
@@ -576,8 +576,6 @@ pmap_bootstrap(vm_paddr_t *firstaddr)
 
 	virtual_avail = va;
 
-	invltlb();
-
 	/* Initialize the PAT MSR. */
 	pmap_init_pat();
 }


More information about the svn-src-all mailing list