diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-09-06 11:06:49 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-09-06 11:06:49 +0000 |
commit | 3d4d8ad33d91ff2e245a2520e52fc4e8c81b9f05 (patch) | |
tree | c3434b0c4f2e1c088f75c4dfe6ee55386289f6a2 | |
parent | 3cea2859086033c5a0cd46df4809f2ce51efea2e (diff) |
PR_WAITOK for the pmap_pmap_pool here as well.
-rw-r--r-- | sys/arch/hppa64/hppa64/pmap.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/hppa64/hppa64/pmap.c b/sys/arch/hppa64/hppa64/pmap.c index 36f4e5c1789..e3888807451 100644 --- a/sys/arch/hppa64/hppa64/pmap.c +++ b/sys/arch/hppa64/hppa64/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.27 2015/02/11 03:24:47 miod Exp $ */ +/* $OpenBSD: pmap.c,v 1.28 2015/09/06 11:06:48 kettenis Exp $ */ /* * Copyright (c) 2005 Michael Shalayeff @@ -545,9 +545,10 @@ pmap_init(void) { DPRINTF(PDB_FOLLOW|PDB_INIT, ("pmap_init()\n")); - pool_init(&pmap_pmap_pool, sizeof(struct pmap), 0, 0, 0, "pmappl", - &pool_allocator_nointr); - pool_init(&pmap_pv_pool, sizeof(struct pv_entry),0,0,0, "pmappv", NULL); + pool_init(&pmap_pmap_pool, sizeof(struct pmap), 0, 0, PR_WAITOK, + "pmappl", NULL); + pool_init(&pmap_pv_pool, sizeof(struct pv_entry),0, 0, 0, "pmappv", + NULL); pool_setlowat(&pmap_pv_pool, pmap_pvlowat); pool_sethiwat(&pmap_pv_pool, pmap_pvlowat * 32); |