Absent documentation as to what the newly added 'ipl' argument to
pool_init() is supposed to do, and actual usage of that argument in pool_init()'s implementation, add use of IPL_VM to the TLB shootdown job queue pool initialization to get this building again. Someone suggested an IPL_XXX_ASK_ANDY constant be introduced...
This commit is contained in:
parent
3d370a5b33
commit
d74897d542
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pmap.c,v 1.221 2007/03/12 18:18:22 ad Exp $ */
|
||||
/* $NetBSD: pmap.c,v 1.222 2007/03/14 21:39:39 he Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
|
||||
@ -145,7 +145,7 @@
|
||||
|
||||
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
||||
|
||||
__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.221 2007/03/12 18:18:22 ad Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.222 2007/03/14 21:39:39 he Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -993,7 +993,8 @@ pmap_bootstrap(paddr_t ptaddr, u_int maxasn, u_long ncpuids)
|
||||
* Initialize the TLB shootdown queues.
|
||||
*/
|
||||
pool_init(&pmap_tlb_shootdown_job_pool,
|
||||
sizeof(struct pmap_tlb_shootdown_job), 0, 0, 0, "pmaptlbpl", NULL);
|
||||
sizeof(struct pmap_tlb_shootdown_job), 0, 0, 0, "pmaptlbpl", NULL,
|
||||
IPL_VM);
|
||||
for (i = 0; i < ALPHA_MAXPROCS; i++) {
|
||||
TAILQ_INIT(&pmap_tlb_shootdown_q[i].pq_head);
|
||||
simple_lock_init(&pmap_tlb_shootdown_q[i].pq_slock);
|
||||
|
Loading…
Reference in New Issue
Block a user