* After removing a L2 page table entry, this routine is used to * conditionally free the page, and manage the hold/wire counts. */
| 2721 | * conditionally free the page, and manage the hold/wire counts. |
| 2722 | */ |
| 2723 | static boolean_t |
| 2724 | pmap_unuse_pt2(pmap_t pmap, vm_offset_t va, struct spglist *free) |
| 2725 | { |
| 2726 | pt1_entry_t pte1; |
| 2727 | vm_page_t mpte; |
| 2728 | |
| 2729 | if (va >= VM_MAXUSER_ADDRESS) |
| 2730 | return (FALSE); |
| 2731 | pte1 = pte1_load(pmap_pte1(pmap, va)); |
| 2732 | mpte = PHYS_TO_VM_PAGE(pte1_link_pa(pte1)); |
| 2733 | return (pmap_unwire_pt2(pmap, va, mpte, free)); |
| 2734 | } |
| 2735 | |
| 2736 | /************************************* |
| 2737 | * |
no test coverage detected