Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Aug 2001 00:54:58 -0700 (PDT)
From:      Alfred Perlstein <alfred@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/vm swap_pager.c
Message-ID:  <200108020754.f727swB62487@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
alfred      2001/08/02 00:54:58 PDT

  Modified files:
    sys/vm               swap_pager.c 
  Log:
  Fixups for the initial allocation by dillon:
    1) allocate fewer buckets
    2) when failing to allocate swap zone, keep reducing the zone by
       a third rather than a half in order to reduce the chance of
       allocating way too little.
  
  I also moved around some code for readability.
  
  Suggested by: dillon
  Reviewed by: dillon
  
  Revision  Changes    Path
  1.162     +16 -8     src/sys/vm/swap_pager.c


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?200108020754.f727swB62487>