* Atomically drop the object lock and wait for pip to drain. This protects * from sleep/wakeup races due to identity changes. The lock is not re-acquired * on return. */
| 379 | * on return. |
| 380 | */ |
| 381 | static void |
| 382 | vm_object_pip_sleep(vm_object_t object, const char *waitid) |
| 383 | { |
| 384 | |
| 385 | (void)blockcount_sleep(&object->paging_in_progress, &object->lock, |
| 386 | waitid, PVM | PDROP); |
| 387 | } |
| 388 | |
| 389 | void |
| 390 | vm_object_pip_wait(vm_object_t object, const char *waitid) |
no outgoing calls
no test coverage detected