From owner-p4-projects@FreeBSD.ORG Sat May 20 23:18:38 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id F09A116A426; Sat, 20 May 2006 23:18:37 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD46616A422 for ; Sat, 20 May 2006 23:18:37 +0000 (UTC) (envelope-from kmacy@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AA3C43D49 for ; Sat, 20 May 2006 23:18:37 +0000 (GMT) (envelope-from kmacy@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k4KNI2gv010884 for ; Sat, 20 May 2006 23:18:02 GMT (envelope-from kmacy@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k4KNI2sJ010880 for perforce@freebsd.org; Sat, 20 May 2006 23:18:02 GMT (envelope-from kmacy@freebsd.org) Date: Sat, 20 May 2006 23:18:02 GMT Message-Id: <200605202318.k4KNI2sJ010880@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to kmacy@freebsd.org using -f From: Kip Macy To: Perforce Change Reviews Cc: Subject: PERFORCE change 97543 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: Sat, 20 May 2006 23:18:38 -0000 http://perforce.freebsd.org/chv.cgi?CH=97543 Change 97543 by kmacy@kmacy_storage:sun4v_work on 2006/05/20 23:17:58 turn PMAP_DEBUG back on for now - turning it off causes problems don't zero hash in tte_hash_reset Affected files ... .. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/pmap.c#52 edit .. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/tte_hash.c#35 edit Differences ... ==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/pmap.c#52 (text+ko) ==== @@ -74,7 +74,7 @@ #include -#if 0 +#if 1 #define PMAP_DEBUG #endif #ifndef PMAP_SHPGPERPROC ==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/tte_hash.c#35 (text+ko) ==== @@ -239,7 +239,7 @@ if (th->th_entries != 0) panic("%d remaining entries", th->th_entries); -#ifndef DONT_SCRUB_ENTRIES +#ifdef SCRUB_ON_RESET pmap_scrub_pages(TLB_DIRECT_TO_PHYS((vm_offset_t)th->th_hashtable), th->th_size*PAGE_SIZE); #endif }