From owner-cvs-src-old@FreeBSD.ORG Sun Aug 29 05:39:35 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 321BA106579A for ; Sun, 29 Aug 2010 05:39:35 +0000 (UTC) (envelope-from jchandra@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 21CCC8FC14 for ; Sun, 29 Aug 2010 05:39:35 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o7T5dZ06022907 for ; Sun, 29 Aug 2010 05:39:35 GMT (envelope-from jchandra@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o7T5dZD8022906 for cvs-src-old@freebsd.org; Sun, 29 Aug 2010 05:39:35 GMT (envelope-from jchandra@repoman.freebsd.org) Message-Id: <201008290539.o7T5dZD8022906@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jchandra@repoman.freebsd.org using -f From: "Jayachandran C." Date: Sun, 29 Aug 2010 05:39:21 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/mips/include pmap.h src/sys/mips/mips pmap.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Aug 2010 05:39:35 -0000 jchandra 2010-08-29 05:39:21 UTC FreeBSD src repository Modified files: sys/mips/include pmap.h sys/mips/mips pmap.c Log: SVN rev 211958 on 2010-08-29 05:39:21Z by jchandra Apply MIPS pmap clean up patch from alc@ (with minor change to KASSERT): PMAP_DIAGNOSTIC was eliminated from amd64/i386, and, in fact, the non-MIPS parts of the kernel, several years ago. Any of the interesting checks were turned into KASSERT()s. Basically, the motivation was that lots of people run with INVARIANTS but no one runs with DIAGNOSTIC. panic strings needn't and shouldn't have a terminating newline. Finally, there is one functional change. The sched_pin() in pmap_remove_pages() is an artifact of the way we temporarily map page table pages on i386. (The mappings are processor private. We don't do a system-wide shootdown.) It isn't needed by MIPS. Tested by: jchandra Submitted by: alc Revision Changes Path 1.20 +0 -5 src/sys/mips/include/pmap.h 1.81 +14 -62 src/sys/mips/mips/pmap.c