| 6418 | } |
| 6419 | |
| 6420 | static pt_entry_t * |
| 6421 | pmap_demote_l2(pmap_t pmap, pt_entry_t *l2, vm_offset_t va) |
| 6422 | { |
| 6423 | struct rwlock *lock; |
| 6424 | pt_entry_t *l3; |
| 6425 | |
| 6426 | lock = NULL; |
| 6427 | l3 = pmap_demote_l2_locked(pmap, l2, va, &lock); |
| 6428 | if (lock != NULL) |
| 6429 | rw_wunlock(lock); |
| 6430 | return (l3); |
| 6431 | } |
| 6432 | |
| 6433 | /* |
| 6434 | * Perform the pmap work for mincore(2). If the page is not both referenced and |
no test coverage detected