| 1194 | } |
| 1195 | |
| 1196 | static void |
| 1197 | vm_page_busy_free(vm_page_t m) |
| 1198 | { |
| 1199 | u_int x; |
| 1200 | |
| 1201 | atomic_thread_fence_rel(); |
| 1202 | x = atomic_swap_int(&m->busy_lock, VPB_FREED); |
| 1203 | if ((x & VPB_BIT_WAITERS) != 0) |
| 1204 | wakeup(m); |
| 1205 | } |
| 1206 | |
| 1207 | /* |
| 1208 | * vm_page_unhold_pages: |
no test coverage detected