* Releases a pte2 that was obtained from pmap_pte2(). * Be prepared for the pte2p being NULL. */
| 1890 | * Be prepared for the pte2p being NULL. |
| 1891 | */ |
| 1892 | static __inline void |
| 1893 | pmap_pte2_release(pt2_entry_t *pte2p) |
| 1894 | { |
| 1895 | |
| 1896 | if ((pt2_entry_t *)(trunc_page((vm_offset_t)pte2p)) == PADDR2) { |
| 1897 | mtx_unlock(&PMAP2mutex); |
| 1898 | } |
| 1899 | } |
| 1900 | |
| 1901 | /* |
| 1902 | * Super fast pmap_pte2 routine best used when scanning |
no test coverage detected