From owner-p4-projects Thu Oct 31 20:39: 4 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 86C6C37B404; Thu, 31 Oct 2002 20:39:02 -0800 (PST) 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 1E13237B401 for ; Thu, 31 Oct 2002 20:39:02 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF85F43E75 for ; Thu, 31 Oct 2002 20:39:01 -0800 (PST) (envelope-from peter@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id gA14bcmV061888 for ; Thu, 31 Oct 2002 20:37:38 -0800 (PST) (envelope-from peter@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gA14bcRv061885 for perforce@freebsd.org; Thu, 31 Oct 2002 20:37:38 -0800 (PST) Date: Thu, 31 Oct 2002 20:37:38 -0800 (PST) Message-Id: <200211010437.gA14bcRv061885@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to peter@freebsd.org using -f From: Peter Wemm Subject: PERFORCE change 20512 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://perforce.freebsd.org/chv.cgi?CH=20512 Change 20512 by peter@peter_daintree on 2002/10/31 20:36:53 jeffr also zaps the objects since we use our own function now Affected files ... .. //depot/projects/ia64/sys/ia64/ia64/pmap.c#43 edit Differences ... ==== //depot/projects/ia64/sys/ia64/ia64/pmap.c#43 (text+ko) ==== @@ -227,7 +227,6 @@ * Data for the pv entry allocation mechanism */ static uma_zone_t pvzone; -static struct vm_object pvzone_obj; static int pv_entry_count = 0, pv_entry_max = 0, pv_entry_high_water = 0; static int pmap_pagedaemon_waken = 0; static struct pv_entry *pvbootentries; @@ -237,7 +236,6 @@ * Data for allocating PTEs for user processes. */ static uma_zone_t ptezone; -static struct vm_object ptezone_obj; /* * VHPT instrumentation. @@ -552,12 +550,10 @@ initial_pvs = MAXPV; pvzone = uma_zcreate("PV ENTRY", sizeof (struct pv_entry), NULL, NULL, NULL, NULL, UMA_ALIGN_PTR, UMA_ZONE_VM); - uma_zone_set_allocf(pvzone, pmap_allocf); uma_prealloc(pvzone, initial_pvs); ptezone = uma_zcreate("PT ENTRY", sizeof (struct ia64_lpte), NULL, NULL, NULL, NULL, UMA_ALIGN_PTR, UMA_ZONE_VM); - uma_zone_set_allocf(ptezone, pmap_allocf_r7); uma_prealloc(ptezone, initial_pvs); /* @@ -584,8 +580,6 @@ TUNABLE_INT_FETCH("vm.pmap.shpgperproc", &shpgperproc); pv_entry_max = shpgperproc * maxproc + vm_page_array_size; pv_entry_high_water = 9 * (pv_entry_max / 10); - uma_zone_set_obj(pvzone, &pvzone_obj, pv_entry_max); - uma_zone_set_obj(ptezone, &ptezone_obj, pv_entry_max); } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message