version 1.184, 2010/05/12 03:43:46 |
version 1.185, 2010/05/12 08:11:16 |
Line 992 pool_get(struct pool *pp, int flags) |
|
Line 992 pool_get(struct pool *pp, int flags) |
|
if (pp->pr_itemsperpage == 0) |
if (pp->pr_itemsperpage == 0) |
panic("pool_get: pool '%s': pr_itemsperpage is zero, " |
panic("pool_get: pool '%s': pr_itemsperpage is zero, " |
"pool not initialized?", pp->pr_wchan); |
"pool not initialized?", pp->pr_wchan); |
if ((cpu_intr_p() || cpu_softintr_p()) && pp->pr_ipl == IPL_NONE) |
if ((cpu_intr_p() || cpu_softintr_p()) && pp->pr_ipl == IPL_NONE && |
|
!cold && panicstr == NULL) |
panic("pool '%s' is IPL_NONE, but called from " |
panic("pool '%s' is IPL_NONE, but called from " |
"interrupt context\n", pp->pr_wchan); |
"interrupt context\n", pp->pr_wchan); |
#endif |
#endif |
Line 2529 pool_cache_get_paddr(pool_cache_t pc, in |
|
Line 2530 pool_cache_get_paddr(pool_cache_t pc, in |
|
int s; |
int s; |
|
|
KASSERTMSG((!cpu_intr_p() && !cpu_softintr_p()) || |
KASSERTMSG((!cpu_intr_p() && !cpu_softintr_p()) || |
(pc->pc_pool.pr_ipl != IPL_NONE || cold), |
(pc->pc_pool.pr_ipl != IPL_NONE || cold || panicstr != NULL), |
("pool '%s' is IPL_NONE, but called from interrupt context\n", |
("pool '%s' is IPL_NONE, but called from interrupt context\n", |
pc->pc_pool.pr_wchan)); |
pc->pc_pool.pr_wchan)); |
|
|