summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2008-05-22 06:27:46 +0000
committermarcel <marcel@FreeBSD.org>2008-05-22 06:27:46 +0000
commitae2d712eedc987564b1ae5addf3740490e40abb4 (patch)
tree12407bae5894ace9eed30b923d2e14a8d9d40e4e /sys/ia64
parent1f1c4e3e67b182ececc1bb5c6c512d0637d1d978 (diff)
downloadFreeBSD-src-ae2d712eedc987564b1ae5addf3740490e40abb4.zip
FreeBSD-src-ae2d712eedc987564b1ae5addf3740490e40abb4.tar.gz
Create the bucket mutexes with MTX_NOWITNESS. There's now a
hard limit of 512 pending mutexes in the witness code and we can easily have 1 million bucket mutexes initialized before witness is up and running. Bumping the limit from 512 to 1M is not really an option here...
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/ia64/pmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ia64/ia64/pmap.c b/sys/ia64/ia64/pmap.c
index 10726a5..c97a912 100644
--- a/sys/ia64/ia64/pmap.c
+++ b/sys/ia64/ia64/pmap.c
@@ -439,7 +439,7 @@ pmap_bootstrap()
pte[i].chain = (uintptr_t)(pmap_vhpt_bucket + i);
/* Stolen memory is zeroed! */
mtx_init(&pmap_vhpt_bucket[i].mutex, "VHPT bucket lock", NULL,
- MTX_SPIN);
+ MTX_NOWITNESS | MTX_SPIN);
}
for (i = 1; i < MAXCPU; i++) {
OpenPOWER on IntegriCloud