From owner-cvs-all@FreeBSD.ORG Wed Oct 27 21:19:36 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 174E316A4CE; Wed, 27 Oct 2004 21:19:36 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E920143D4C; Wed, 27 Oct 2004 21:19:35 +0000 (GMT) (envelope-from bmilekic@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i9RLJZ7g023078; Wed, 27 Oct 2004 21:19:35 GMT (envelope-from bmilekic@repoman.freebsd.org) Received: (from bmilekic@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i9RLJZ94023077; Wed, 27 Oct 2004 21:19:35 GMT (envelope-from bmilekic) Message-Id: <200410272119.i9RLJZ94023077@repoman.freebsd.org> From: Bosko Milekic Date: Wed, 27 Oct 2004 21:19:35 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/vm uma_core.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Oct 2004 21:19:36 -0000 bmilekic 2004-10-27 21:19:35 UTC FreeBSD src repository Modified files: sys/vm uma_core.c Log: Fix a INVARIANTS-only bug introduced in Revision 1.104: IF INVARIANTS is defined, and in the rare case that we have allocated some objects from the slab and at least one initializer on at least one of those objects failed, and we need to fail the allocation and push the uninitialized items back into the slab caches -- in that scenario, we would fail to [re]set the bucket cache's ub_bucket item references to NULL, which would eventually trigger a KASSERT. Revision Changes Path 1.108 +5 -1 src/sys/vm/uma_core.c