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
This commit is contained in:
Alan Cox 2005-06-16 17:06:34 +00:00
parent c0cac8dc20
commit eafc7b549a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=147422

View File

@ -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)