| version 1.64, 2001/11/12 15:25:20 |
version 1.65, 2001/11/20 06:57:04 |
| Line 777 pool_get(struct pool *pp, int flags) |
|
| Line 777 pool_get(struct pool *pp, int flags) |
|
| pp->pr_wchan, pp->pr_nitems); |
pp->pr_wchan, pp->pr_nitems); |
| panic("pool_get: nitems inconsistent\n"); |
panic("pool_get: nitems inconsistent\n"); |
| } |
} |
| |
#endif |
| |
|
| |
#ifdef POOL_DIAGNOSTIC |
| pr_log(pp, v, PRLOG_GET, file, line); |
pr_log(pp, v, PRLOG_GET, file, line); |
| |
#endif |
| |
|
| |
#ifdef DIAGNOSTIC |
| if (__predict_false(pi->pi_magic != PI_MAGIC)) { |
if (__predict_false(pi->pi_magic != PI_MAGIC)) { |
| pr_printlog(pp, pi, printf); |
pr_printlog(pp, pi, printf); |
| panic("pool_get(%s): free list modified: magic=%x; page %p;" |
panic("pool_get(%s): free list modified: magic=%x; page %p;" |