diff options
author | alc <alc@FreeBSD.org> | 2005-06-16 17:06:34 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2005-06-16 17:06:34 +0000 |
commit | 67602b23a9cbc3d6057b58ac382ad2e52d3648d3 (patch) | |
tree | 59be02895eff995de8f141e3b2f12686dd4bd00f /sys/vm/uma_int.h | |
parent | 82cf72b8bbcec36e16c9c4387fb2520414d16398 (diff) | |
download | FreeBSD-src-67602b23a9cbc3d6057b58ac382ad2e52d3648d3.zip FreeBSD-src-67602b23a9cbc3d6057b58ac382ad2e52d3648d3.tar.gz |
Increase UMA_BOOT_PAGES to prevent a crash during initialization. See
http://docs.FreeBSD.org/cgi/mid.cgi?42AD8270.8060906 for a detailed
description of the crash.
Reported by: Eric Anderson
Approved by: re (scottl)
MFC after: 3 days
Diffstat (limited to 'sys/vm/uma_int.h')
-rw-r--r-- | sys/vm/uma_int.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/uma_int.h b/sys/vm/uma_int.h index 4d5ea7d..2fcc15a 100644 --- a/sys/vm/uma_int.h +++ b/sys/vm/uma_int.h @@ -119,7 +119,7 @@ #define UMA_SLAB_MASK (PAGE_SIZE - 1) /* Mask to get back to the page */ #define UMA_SLAB_SHIFT PAGE_SHIFT /* Number of bits PAGE_MASK */ -#define UMA_BOOT_PAGES 40 /* Pages allocated for startup */ +#define UMA_BOOT_PAGES 48 /* Pages allocated for startup */ /* Max waste before going to off page slab management */ #define UMA_MAX_WASTE (UMA_SLAB_SIZE / 10) |