From owner-cvs-src-old@FreeBSD.ORG Mon Mar 22 18:25:01 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 51F3B10657C0 for ; Mon, 22 Mar 2010 18:25:01 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 39F958FC15 for ; Mon, 22 Mar 2010 18:25:01 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o2MIP1a8064528 for ; Mon, 22 Mar 2010 18:25:01 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o2MIP1KH064527 for cvs-src-old@freebsd.org; Mon, 22 Mar 2010 18:25:01 GMT (envelope-from marcel@repoman.freebsd.org) Message-Id: <201003221825.o2MIP1KH064527@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marcel@repoman.freebsd.org using -f From: Marcel Moolenaar Date: Mon, 22 Mar 2010 18:24:42 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/ia64/ia64 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: Mon, 22 Mar 2010 18:25:01 -0000 marcel 2010-03-22 18:24:42 UTC FreeBSD src repository Modified files: sys/ia64/ia64 pmap.c Log: SVN rev 205454 on 2010-03-22 18:24:42Z by marcel o Remove the pmap argument to pmap_invalidate_all() as it's not used other than in a potentially dangerous KASSERT. o Hand-inline pmap_remove_page() as it's only called from 1 place and the abstraction that pmap_remove_page() provides is not enough to warrant the obfuscation. Eliminate the dangerous KASSERT in the process. o In pmap_remove_pte(), remove the KASSERT for pmap being the current one as it's not safe in the face of CPU migration. Revision Changes Path 1.213 +11 -30 src/sys/ia64/ia64/pmap.c