From owner-p4-projects@FreeBSD.ORG Fri Jul 7 16:56:09 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 341E316A542; Fri, 7 Jul 2006 16:56:09 +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 1052916A53E for ; Fri, 7 Jul 2006 16:56:09 +0000 (UTC) (envelope-from wkoszek@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B364343D4C for ; Fri, 7 Jul 2006 16:56:08 +0000 (GMT) (envelope-from wkoszek@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 k67Gu8We050285 for ; Fri, 7 Jul 2006 16:56:08 GMT (envelope-from wkoszek@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k67Gu817050281 for perforce@freebsd.org; Fri, 7 Jul 2006 16:56:08 GMT (envelope-from wkoszek@FreeBSD.org) Date: Fri, 7 Jul 2006 16:56:08 GMT Message-Id: <200607071656.k67Gu817050281@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to wkoszek@FreeBSD.org using -f From: "Wojciech A. Koszek" To: Perforce Change Reviews Cc: Subject: PERFORCE change 100901 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 16:56:09 -0000 http://perforce.freebsd.org/chv.cgi?CH=100901 Change 100901 by wkoszek@wkoszek_laptop on 2006/07/07 16:55:39 After Alexander's changes, I can uncomment this piece in vfs_bio.c because we have correct definitions for popular data types. Affected files ... .. //depot/projects/mips2/src/sys/kern/vfs_bio.c#3 edit Differences ... ==== //depot/projects/mips2/src/sys/kern/vfs_bio.c#3 (text+ko) ==== @@ -3154,7 +3154,6 @@ * XXXMIPS: This was the easiest way to move on. * Leave it for later, since kernel at this stage won't probably boot. */ -#if 0 KASSERT(BUF_REFCNT(bp) > 0, ("biodone: bp %p not busy %d", bp, BUF_REFCNT(bp))); @@ -3249,12 +3248,11 @@ * have not set the page busy flag correctly!!! */ if (m->busy == 0) { - uint32_t mask = 0xffffffff; printf("biodone: page busy < 0, " "pindex: %d, foff: 0x(%x,%x), " "resid: %d, index: %d\n", (int) m->pindex, (int)(foff >> 32), - (int) foff & mask, resid, i); + (int) foff & 0xffffffff, resid, i); if (!vn_isdisk(vp, NULL)) printf(" iosize: %jd, lblkno: %jd, flags: 0x%x, npages: %d\n", (intmax_t)bp->b_vp->v_mount->mnt_stat.f_iosize, @@ -3292,7 +3290,6 @@ bqrelse(bp); } else bdone(bp); -#endif } /* @@ -3610,7 +3607,6 @@ * XXXMIPS: Hack this part to make it working on MIPS. * Leave it for later. */ -#if 0 vm_offset_t pg; vm_page_t p; int index; @@ -3644,7 +3640,6 @@ } VM_OBJECT_UNLOCK(kernel_object); bp->b_npages = index; -#endif } /* Return pages associated with this buf to the vm system */