diff options
author | dillon <dillon@FreeBSD.org> | 2000-10-13 16:44:34 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 2000-10-13 16:44:34 +0000 |
commit | b9b696f1abc7fcd1f327c7a003e2f19073711203 (patch) | |
tree | 1e09d9935e87e4fc9f96b2883b562a9a132bbdc1 /lib/libc/net/res_init.c | |
parent | 4c9cb1a066173e802e2de5bccdff3c594437e042 (diff) | |
download | FreeBSD-src-b9b696f1abc7fcd1f327c7a003e2f19073711203.zip FreeBSD-src-b9b696f1abc7fcd1f327c7a003e2f19073711203.tar.gz |
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
Diffstat (limited to 'lib/libc/net/res_init.c')
0 files changed, 0 insertions, 0 deletions