Date: Fri, 13 Oct 2000 00:13:23 -0700 (PDT) From: Matt Dillon <dillon@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm swap_pager.c swap_pager.h vm_swap.c Message-ID: <200010130713.AAA02490@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010130713.AAA02490>
