Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Dec 2010 06:54:06 +0000 (UTC)
From:      "Jayachandran C." <jchandra@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r216317 - in head/sys: mips/mips vm
Message-ID:  <201012090654.oB96s6DW027065@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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