svn commit: r216317 - in head/sys: mips/mips vm

Jayachandran C. jchandra at FreeBSD.org
Thu Dec 9 06:54:07 UTC 2010


Author: jchandra
Date: Thu Dec  9 06:54:06 2010
New Revision: 216317
URL: http://svn.freebsd.org/changeset/base/216317

Log:
  swi_vm() for mips.

Modified:
  head/sys/mips/mips/vm_machdep.c
  head/sys/vm/vm_page.c

Modified: head/sys/mips/mips/vm_machdep.c
==============================================================================
--- head/sys/mips/mips/vm_machdep.c	Thu Dec  9 06:41:50 2010	(r216316)
+++ head/sys/mips/mips/vm_machdep.c	Thu Dec  9 06:54:06 2010	(r216317)
@@ -538,6 +538,9 @@ sf_buf_free(struct sf_buf *sf)
 void
 swi_vm(void *dummy)
 {
+
+	if (busdma_swi_pending)
+		busdma_swi();
 }
 
 int

Modified: head/sys/vm/vm_page.c
==============================================================================
--- head/sys/vm/vm_page.c	Thu Dec  9 06:41:50 2010	(r216316)
+++ head/sys/vm/vm_page.c	Thu Dec  9 06:54:06 2010	(r216317)
@@ -430,7 +430,7 @@ vm_page_startup(vm_offset_t vaddr)
 	 */
 	new_end = vm_reserv_startup(&vaddr, new_end, high_water);
 #endif
-#if defined(__amd64__) || defined(__mips__)
+#if defined(__amd64__)
 	/*
 	 * pmap_map on amd64 and mips can come out of the direct-map, not kvm
 	 * like i386, so the pages must be tracked for a crashdump to include


More information about the svn-src-head mailing list