From owner-cvs-all Thu Aug 2 0:55: 7 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D506437B403; Thu, 2 Aug 2001 00:54:58 -0700 (PDT) (envelope-from alfred@FreeBSD.org) Received: (from alfred@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f727swB62487; Thu, 2 Aug 2001 00:54:58 -0700 (PDT) (envelope-from alfred) Message-Id: <200108020754.f727swB62487@freefall.freebsd.org> From: Alfred Perlstein Date: Thu, 2 Aug 2001 00:54:58 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm swap_pager.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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