Increase the number of spinlocks, since libc's malloc implementation is
about to significantly increase the number of spinlocks used. Approved by: markm (mentor)
This commit is contained in:
parent
87a444e62e
commit
90dc795234
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=154288
@ -40,7 +40,7 @@
|
|||||||
#include "spinlock.h"
|
#include "spinlock.h"
|
||||||
#include "thr_private.h"
|
#include "thr_private.h"
|
||||||
|
|
||||||
#define MAX_SPINLOCKS 5
|
#define MAX_SPINLOCKS 72
|
||||||
|
|
||||||
struct spinlock_extra {
|
struct spinlock_extra {
|
||||||
spinlock_t *owner;
|
spinlock_t *owner;
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
#include "spinlock.h"
|
#include "spinlock.h"
|
||||||
#include "thr_private.h"
|
#include "thr_private.h"
|
||||||
|
|
||||||
#define MAX_SPINLOCKS 5
|
#define MAX_SPINLOCKS 72
|
||||||
|
|
||||||
struct spinlock_extra {
|
struct spinlock_extra {
|
||||||
spinlock_t *owner;
|
spinlock_t *owner;
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
#include "thr_private.h"
|
#include "thr_private.h"
|
||||||
|
|
||||||
#define MAX_SPINLOCKS 20
|
#define MAX_SPINLOCKS 72
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* These data structures are used to trace all spinlocks
|
* These data structures are used to trace all spinlocks
|
||||||
|
Loading…
Reference in New Issue
Block a user