cvs commit: src/sys/vm uma_core.c

Bosko Milekic bmilekic at FreeBSD.org
Wed Feb 16 20:45:58 GMT 2005


bmilekic    2005-02-16 20:45:57 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    sys/vm               uma_core.c 
  Log:
  MFC: bring in critical fix introduced in 1.114.  Original commit message:
  
  "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)."
  
  Revision   Changes    Path
  1.105.2.7  +11 -1     src/sys/vm/uma_core.c


More information about the cvs-all mailing list