cvs commit: src/sys/vm uma_core.c

Bosko Milekic bmilekic at FreeBSD.org
Wed Oct 27 14:19:36 PDT 2004


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


More information about the cvs-src mailing list