cvs commit: src/sys/vm uma_core.c

Bosko Milekic bmilekic at FreeBSD.org
Mon Jan 10 19:33:10 PST 2005


bmilekic    2005-01-11 03:33:09 UTC

  FreeBSD src repository

  Modified files:
    sys/vm               uma_core.c 
  Log:
  While we want the recursion protection for the bucket zones so that
  recursion from the VM is handled (and the calling code that allocates
  buckets knows how to deal with it), we do not want to prevent allocation
  from the slab header zones (slabzone and slabrefzone) if uk_recurse is
  not zero for them.  The reason is that it could lead to NULL being
  returned for the slab header allocations even in the M_WAITOK
  case, and the caller can't handle that (this is also explained in a
  comment with this commit).
  
  The problem analysis is documented in our mailing lists:
  http://docs.freebsd.org/cgi/getmsg.cgi?fetch=153445+0+archive/2004/freebsd-current/20041231.freebsd-current
  
  (see entire thread for proper context).
  
  Crash dump data provided by: Peter Holm <peter at holm.cc>
  
  Revision  Changes    Path
  1.114     +11 -1     src/sys/vm/uma_core.c


More information about the cvs-src mailing list