Date: Wed, 27 Oct 2004 21:19:35 +0000 (UTC) From: Bosko Milekic <bmilekic@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm uma_core.c Message-ID: <200410272119.i9RLJZ94023077@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410272119.i9RLJZ94023077>
