From owner-cvs-all Fri Oct 13 0:13:27 2000 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 4521137B66D; Fri, 13 Oct 2000 00:13:24 -0700 (PDT) Received: (from dillon@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id AAA02490; Fri, 13 Oct 2000 00:13:23 -0700 (PDT) (envelope-from dillon@FreeBSD.org) Message-Id: <200010130713.AAA02490@freefall.freebsd.org> From: Matt Dillon Date: Fri, 13 Oct 2000 00:13:23 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm swap_pager.c swap_pager.h vm_swap.c X-FreeBSD-CVS-Branch: RELENG_4 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG dillon 2000/10/13 00:13:23 PDT Modified files: (Branch: RELENG_4) sys/vm swap_pager.c swap_pager.h vm_swap.c Log: The swap bitmap allocator was not calculating the bitmap size properly in the face of non-stripe-aligned swap areas. The bug could cause a panic during boot. Refuse to configure a swap area that is too large (67 GB or so) Properly document the power-of-2 requirement for SWB_NPAGES. The patch is slightly different then the one Tor enclosed in the P.R., but accomplishes the same thing. PR: kern/20273 Submitted by: Tor.Egge@fast.no Revision Changes Path 1.130.2.5 +2 -2 src/sys/vm/swap_pager.c 1.28.2.1 +4 -7 src/sys/vm/swap_pager.h 1.96.2.1 +18 -4 src/sys/vm/vm_swap.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message