From owner-p4-projects@FreeBSD.ORG Fri Jul 7 18:50:51 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 0656116A500; Fri, 7 Jul 2006 18:50:51 +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 C114A16A50E for ; Fri, 7 Jul 2006 18:50:50 +0000 (UTC) (envelope-from jb@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6807843D49 for ; Fri, 7 Jul 2006 18:50:50 +0000 (GMT) (envelope-from jb@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 k67Ioonq060250 for ; Fri, 7 Jul 2006 18:50:50 GMT (envelope-from jb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k67IonNZ060247 for perforce@freebsd.org; Fri, 7 Jul 2006 18:50:49 GMT (envelope-from jb@freebsd.org) Date: Fri, 7 Jul 2006 18:50:49 GMT Message-Id: <200607071850.k67IonNZ060247@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jb@freebsd.org using -f From: John Birrell To: Perforce Change Reviews Cc: Subject: PERFORCE change 100915 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: Fri, 07 Jul 2006 18:50:51 -0000 http://perforce.freebsd.org/chv.cgi?CH=100915 Change 100915 by jb@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); }