PERFORCE change 100915 for review

John Birrell jb at FreeBSD.org
Fri Jul 7 18:50:51 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=100915

Change 100915 by jb at jb_freebsd2 on 2006/07/07 18:50:20

	Remove debugging printfs now that 32GB works fine.

Affected files ...

.. //depot/projects/dtrace/src/sys/vm/vm_map.c#6 edit
.. //depot/projects/dtrace/src/sys/vm/vm_page.c#6 edit

Differences ...

==== //depot/projects/dtrace/src/sys/vm/vm_map.c#6 (text+ko) ====

@@ -159,7 +159,6 @@
 vm_map_startup(void)
 {
 	mtx_init(&map_sleep_mtx, "vm map sleep mutex", NULL, MTX_DEF);
-	printf("uma_zcreate\n");
 	mapzone = uma_zcreate("MAP", sizeof(struct vm_map), NULL,
 #ifdef INVARIANTS
 	    vm_map_zdtor,
@@ -167,15 +166,11 @@
 	    NULL,
 #endif
 	    vm_map_zinit, vm_map_zfini, UMA_ALIGN_PTR, UMA_ZONE_NOFREE);
-	printf("uma_prealloc\n");
 	uma_prealloc(mapzone, MAX_KMAP);
-	printf("KMAP ENTRY\n");
 	kmapentzone = uma_zcreate("KMAP ENTRY", sizeof(struct vm_map_entry),
 	    NULL, NULL, NULL, NULL, UMA_ALIGN_PTR,
 	    UMA_ZONE_MTXCLASS | UMA_ZONE_VM);
-	printf("prealloc kmapentzone\n");
 	uma_prealloc(kmapentzone, MAX_KMAPENT);
-	printf("uma_zcreate MAP ENTRY\n");
 	mapentzone = uma_zcreate("MAP ENTRY", sizeof(struct vm_map_entry),
 	    NULL, NULL, NULL, NULL, UMA_ALIGN_PTR, 0);
 }

==== //depot/projects/dtrace/src/sys/vm/vm_page.c#6 (text+ko) ====

@@ -222,7 +222,6 @@
 	nblocks = 0;
 	vaddr = round_page(vaddr);
 
-	printf("checking physavail\n");
 	for (i = 0; phys_avail[i + 1]; i += 2) {
 		phys_avail[i] = round_page(phys_avail[i]);
 		phys_avail[i + 1] = trunc_page(phys_avail[i + 1]);
@@ -253,7 +252,6 @@
 	 * Initialize the queue headers for the free queue, the active queue
 	 * and the inactive queue.
 	 */
-	printf("vm_pageq_init\n");
 	vm_pageq_init();
 
 	/*
@@ -262,12 +260,9 @@
 	 */
 	new_end = end - (boot_pages * UMA_SLAB_SIZE);
 	new_end = trunc_page(new_end);
-	printf("vm_page_startup pmap_map\n");
 	mapped = pmap_map(&vaddr, new_end, end,
 	    VM_PROT_READ | VM_PROT_WRITE);
-	printf("bzero\n");
 	bzero((void *)mapped, end - new_end);
-	printf("uma_startup\n");
 	uma_startup((void *)mapped, boot_pages);
 
 #if defined(__amd64__) || defined(__i386__)
@@ -338,7 +333,6 @@
 	 */
 	cnt.v_page_count = 0;
 	cnt.v_free_count = 0;
-	printf("checking vm.blacklist\n");
 	list = getenv("vm.blacklist");
 	for (i = 0; phys_avail[i + 1] && npages > 0; i += 2) {
 		pa = phys_avail[i];
@@ -353,7 +347,6 @@
 			pa += PAGE_SIZE;
 		}
 	}
-	printf("passed vm.blacklist check\n");
 	freeenv(list);
 	return (vaddr);
 }


More information about the p4-projects mailing list