Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2002 20:37:38 -0800 (PST)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 20512 for review
Message-ID:  <200211010437.gA14bcRv061885@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211010437.gA14bcRv061885>