Bump WITNESS_PENDLIST by MAXCPU to account for the
pmap pvlist locks which are scaled by MAXCPU. This allows an amd64 system to boot with MAXCPU set to 256, which is currently FreeBSD's hard limit without x2apic support. Compile-tested for other arch's. PR: 185831 Discussed with: jhb MFC after: 3 weeks
This commit is contained in:
parent
4b55d3602f
commit
d6cd193e5e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=265098
@ -135,7 +135,7 @@ __FBSDID("$FreeBSD$");
|
||||
#define WITNESS_COUNT 1536
|
||||
#define WITNESS_CHILDCOUNT (WITNESS_COUNT * 4)
|
||||
#define WITNESS_HASH_SIZE 251 /* Prime, gives load factor < 2 */
|
||||
#define WITNESS_PENDLIST 1024
|
||||
#define WITNESS_PENDLIST (1024 + MAXCPU)
|
||||
|
||||
/* Allocate 256 KB of stack data space */
|
||||
#define WITNESS_LO_DATA_COUNT 2048
|
||||
|
Loading…
Reference in New Issue
Block a user