| 421 | #endif |
| 422 | |
| 423 | static void |
| 424 | init_turnstile0(void *dummy) |
| 425 | { |
| 426 | |
| 427 | turnstile_zone = uma_zcreate("TURNSTILE", sizeof(struct turnstile), |
| 428 | NULL, |
| 429 | #ifdef INVARIANTS |
| 430 | turnstile_dtor, |
| 431 | #else |
| 432 | NULL, |
| 433 | #endif |
| 434 | turnstile_init, turnstile_fini, UMA_ALIGN_CACHE, UMA_ZONE_NOFREE); |
| 435 | thread0.td_turnstile = turnstile_alloc(); |
| 436 | } |
| 437 | SYSINIT(turnstile0, SI_SUB_LOCK, SI_ORDER_ANY, init_turnstile0, NULL); |
| 438 | |
| 439 | /* |
nothing calls this directly
no test coverage detected