From owner-svn-src-all@FreeBSD.ORG Thu Dec 9 06:54:07 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D8FA1065674; Thu, 9 Dec 2010 06:54:07 +0000 (UTC) (envelope-from jchandra@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 1CF558FC16; Thu, 9 Dec 2010 06:54:07 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id oB96s7iF027068; Thu, 9 Dec 2010 06:54:07 GMT (envelope-from jchandra@svn.freebsd.org) Received: (from jchandra@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id oB96s6DW027065; Thu, 9 Dec 2010 06:54:06 GMT (envelope-from jchandra@svn.freebsd.org) Message-Id: <201012090654.oB96s6DW027065@svn.freebsd.org> From: "Jayachandran C." Date: Thu, 9 Dec 2010 06:54:06 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r216317 - in head/sys: mips/mips vm X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2010 06:54:07 -0000 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