Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Apr 2002 18:56:25 -0700 (PDT)
From:      Jeff Roberson <jeff@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/vm uma_core.c uma_int.h
Message-ID:  <200204140156.g3E1uPZ48087@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jeff        2002/04/13 18:56:25 PDT

  Modified files:
    sys/vm               uma_core.c uma_int.h 
  Log:
  Fix the calculation that determines uz_maxpages.  It was off for large zones.
  Fortunately we have no large zones with maximums specified yet, so it wasn't
  breaking anything.
  
  Implement blocking when a zone exceeds the maximum and M_WAITOK is specified.
  Previously this just failed like the old zone allocator did.  The old zone
  allocator didn't support WAITOK/NOWAIT though so we should do what we
  advertise.
  
  While I was in there I cleaned up some more zalloc logic to further simplify
  that code path and reduce redundant code.  This was needed to make the blocking
  work properly anyway.
  
  Revision  Changes    Path
  1.12      +51 -28    src/sys/vm/uma_core.c
  1.7       +2 -0      src/sys/vm/uma_int.h

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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