From owner-p4-projects@FreeBSD.ORG Wed Jan 19 18:28:36 2005 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 388FE16A4E5; Wed, 19 Jan 2005 18:28:35 +0000 (GMT) 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 07FC316A4D9 for ; Wed, 19 Jan 2005 18:28:35 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E600B43D1D for ; Wed, 19 Jan 2005 18:28:34 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j0JISYqp073518 for ; Wed, 19 Jan 2005 18:28:34 GMT (envelope-from jhb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j0JISYeg073515 for perforce@freebsd.org; Wed, 19 Jan 2005 18:28:34 GMT (envelope-from jhb@freebsd.org) Date: Wed, 19 Jan 2005 18:28:34 GMT Message-Id: <200501191828.j0JISYeg073515@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jhb@freebsd.org using -f From: John Baldwin To: Perforce Change Reviews Subject: PERFORCE change 69310 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jan 2005 18:28:36 -0000 http://perforce.freebsd.org/chv.cgi?CH=69310 Change 69310 by jhb@jhb_slimer on 2005/01/19 18:28:31 Don't need this anymore. Affected files ... .. //depot/projects/smpng/sys/kern/kern_descrip.c#75 edit Differences ... ==== //depot/projects/smpng/sys/kern/kern_descrip.c#75 (text+ko) ==== @@ -204,8 +204,6 @@ FILEDESC_LOCK_ASSERT(fdp, MA_OWNED); KASSERT(!fdisused(fdp, fd), ("fd already used")); - KASSERT(fdp->fd_map[NDSLOT(fd)] != 0xdeadc0de, - ("writing to free'd map")); fdp->fd_map[NDSLOT(fd)] |= NDBIT(fd); if (fd > fdp->fd_lastfile) fdp->fd_lastfile = fd; @@ -224,8 +222,6 @@ ("fd is already unused")); KASSERT(fdp->fd_ofiles[fd] == NULL, ("fd is still in use")); - KASSERT(fdp->fd_map[NDSLOT(fd)] != 0xdeadc0de, - ("writing to free'd map")); fdp->fd_map[NDSLOT(fd)] &= ~NDBIT(fd); if (fd < fdp->fd_freefile) fdp->fd_freefile = fd; @@ -410,8 +406,6 @@ case F_SETFD: /* mtx_assert(&Giant, MA_NOTOWNED); */ - KASSERT(*(uint32_t *)(((uintptr_t)pop) & ~3) != 0xdeadc0de, - ("writing to free'd flags")); *pop = (*pop &~ UF_EXCLOSE) | (arg & FD_CLOEXEC ? UF_EXCLOSE : 0); FILEDESC_UNLOCK(fdp); @@ -700,8 +694,6 @@ * Duplicate the source descriptor */ fdp->fd_ofiles[new] = fp; - KASSERT(*(uint32_t *)(((uintptr_t)&fdp->fd_ofileflags[old]) & ~3) != - 0xdeadc0de, ("reading/writing free'd file flags")); fdp->fd_ofileflags[new] = fdp->fd_ofileflags[old] &~ UF_EXCLOSE; if (new > fdp->fd_lastfile) fdp->fd_lastfile = new;