From owner-p4-projects@FreeBSD.ORG Thu Jan 3 06:31:32 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 283B716A41B; Thu, 3 Jan 2008 06:31:32 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E21B616A418 for ; Thu, 3 Jan 2008 06:31:31 +0000 (UTC) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8CB0413C45A for ; Thu, 3 Jan 2008 06:31:31 +0000 (UTC) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m036VVQQ015690 for ; Thu, 3 Jan 2008 06:31:31 GMT (envelope-from imp@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m036VVb4015686 for perforce@freebsd.org; Thu, 3 Jan 2008 06:31:31 GMT (envelope-from imp@freebsd.org) Date: Thu, 3 Jan 2008 06:31:31 GMT Message-Id: <200801030631.m036VVb4015686@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to imp@freebsd.org using -f From: Warner Losh To: Perforce Change Reviews Cc: Subject: PERFORCE change 132371 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jan 2008 06:31:32 -0000 http://perforce.freebsd.org/chv.cgi?CH=132371 Change 132371 by imp@imp_paco-paco on 2008/01/03 06:30:49 Restore diagnostics, but fix comment name. Affected files ... .. //depot/projects/mips2-jnpr/src/sys/mips/mips/pmap.c#9 edit Differences ... ==== //depot/projects/mips2-jnpr/src/sys/mips/mips/pmap.c#9 (text+ko) ==== @@ -1437,6 +1437,14 @@ register pv_entry_t pv; register pt_entry_t *pte, tpte; +#if defined(PMAP_DEBUG) + /* + * XXX This makes pmap_remove_all() illegal for non-managed pages! + */ + if (m->flags & PG_FICTITIOUS) { + panic("pmap_page_protect: illegal for unmanaged page, va: 0x%x", VM_PAGE_TO_PHYS(m)); + } +#endif mtx_assert(&vm_page_queue_mtx, MA_OWNED); if (m->md.pv_flags & PV_TABLE_REF)