mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-21 11:13:30 +00:00
The r254167 moved initialization of the sleepqueues before the witness
is operational. init_sleepqueues() initializes 256 mutexes, which, due to witness still being cold, started to overflow the pending_locks array. As stated in the reported panic message, increase WITNESS_PENDLIST from 768 to 1024, which provides space for additional 256 locks. Reported by: many Tested by: rakuco, bdrewery
This commit is contained in:
parent
84efbe96f1
commit
2f7c18600c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=254195
@ -135,7 +135,7 @@ __FBSDID("$FreeBSD$");
|
||||
#define WITNESS_COUNT 1024
|
||||
#define WITNESS_CHILDCOUNT (WITNESS_COUNT * 4)
|
||||
#define WITNESS_HASH_SIZE 251 /* Prime, gives load factor < 2 */
|
||||
#define WITNESS_PENDLIST 768
|
||||
#define WITNESS_PENDLIST 1024
|
||||
|
||||
/* Allocate 256 KB of stack data space */
|
||||
#define WITNESS_LO_DATA_COUNT 2048
|
||||
|
Loading…
Reference in New Issue
Block a user