* Hide MAXALLOC tags before dropping the arena lock to ensure that a * concurrent allocation attempt does not grab them. */
| 372 | * concurrent allocation attempt does not grab them. |
| 373 | */ |
| 374 | static void |
| 375 | bt_save(vmem_t *vm) |
| 376 | { |
| 377 | KASSERT(vm->vm_nfreetags >= BT_MAXALLOC, |
| 378 | ("%s: insufficient free tags %d", __func__, vm->vm_nfreetags)); |
| 379 | vm->vm_nfreetags -= BT_MAXALLOC; |
| 380 | } |
| 381 | |
| 382 | static void |
| 383 | bt_restore(vmem_t *vm) |
no outgoing calls
no test coverage detected