Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2005 03:33:09 +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:  <200501110333.j0B3X9GU031181@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@holm.cc>
  
  Revision  Changes    Path
  1.114     +11 -1     src/sys/vm/uma_core.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501110333.j0B3X9GU031181>