Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 2000 02:00:43 -0800 (PST)
From:      Seigo Tanimura <tanimura@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/i386/i386 machdep.c
Message-ID:  <200012131000.eBDA0hC33811@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
tanimura    2000/12/13 02:00:43 PST

  Modified files:
    sys/i386/i386        machdep.c 
  Log:
  - If swap metadata does not fit into the KVM, reduce the number of
  struct swblock entries by dividing the number of the entries by 2
  until the swap metadata fits.
  
  - Reject swapon(2) upon failure of swap_zone allocation.
  
  This is just a temporary fix. Better solutions include:
  (suggested by:	dillon)
  
  o reserving swap in SWAP_META_PAGES chunks, and
  o swapping the swblock structures themselves.
  
  Reviewed by:	alfred, dillon
  
  Revision  Changes    Path
  1.425     +16 -5     src/sys/i386/i386/machdep.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?200012131000.eBDA0hC33811>