From owner-cvs-all Fri Oct 13 9:44:38 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 392BE37B671; Fri, 13 Oct 2000 09:44:35 -0700 (PDT) Received: (from dillon@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA12264; Fri, 13 Oct 2000 09:44:35 -0700 (PDT) (envelope-from dillon@FreeBSD.org) Message-Id: <200010131644.JAA12264@freefall.freebsd.org> From: Matt Dillon Date: Fri, 13 Oct 2000 09:44:35 -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: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG dillon 2000/10/13 09:44:34 PDT Modified files: 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.145 +2 -2 src/sys/vm/swap_pager.c 1.29 +4 -7 src/sys/vm/swap_pager.h 1.105 +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