Module Name:    src
Committed By:   bouyer
Date:           Sun Mar  4 20:44:17 UTC 2012

Modified Files:
        src/sys/arch/i386/i386: machdep.c

Log Message:
Don't try to uvm_page_physload() the tmpgdt page: this always fails because
only one physical segment is configured for Xen, and it's probably not
worth it to create a second physseg with a single page (uvm has optimisations
for the VM_PHYSSEG_MAX == 1 case)


To generate a diff of this commit:
cvs rdiff -u -r1.725 -r1.726 src/sys/arch/i386/i386/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/i386/i386/machdep.c
diff -u src/sys/arch/i386/i386/machdep.c:1.725 src/sys/arch/i386/i386/machdep.c:1.726
--- src/sys/arch/i386/i386/machdep.c:1.725	Sun Mar  4 15:56:09 2012
+++ src/sys/arch/i386/i386/machdep.c	Sun Mar  4 20:44:17 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.725 2012/03/04 15:56:09 bouyer Exp $	*/
+/*	$NetBSD: machdep.c,v 1.726 2012/03/04 20:44:17 bouyer Exp $	*/
 
 /*-
  * Copyright (c) 1996, 1997, 1998, 2000, 2004, 2006, 2008, 2009
@@ -67,7 +67,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.725 2012/03/04 15:56:09 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.726 2012/03/04 20:44:17 bouyer Exp $");
 
 #include "opt_beep.h"
 #include "opt_compat_ibcs2.h"
@@ -1440,10 +1440,6 @@ init386(paddr_t first_avail)
 		}
 	}
 
-	uvm_page_physload(atop((vaddr_t)tmpgdt), atop((vaddr_t)tmpgdt + PAGE_SIZE),
-	    atop((vaddr_t)tmpgdt), atop((vaddr_t)tmpgdt + PAGE_SIZE),
-	    VM_FREELIST_DEFAULT);
-
 #endif /* !XEN */
 
 	init386_msgbuf();

Reply via email to