On Mon, Jul 08, 2019 at 09:35:05PM -0700, Steve Kargl wrote:
> On Mon, Jul 08, 2019 at 09:31:12PM -0700, Steve Kargl wrote:
> > It seems the recent flurry of vm commits has
> > broken the graphics/drm-legacy-kmod port.
> > vm_page_hold() no longer exists.  How do I
> > fix the port?
> > 
> 
> Whoops.  The missing function is vm_page_unhold().
> Anywhoo, how do I fix this?
> 
The code in question is 

        for (i = 0; i < vsg->num_pages; i++) {                                  
                m = vsg->pages[i];                                              
                vm_page_lock(m);                                                
                vm_page_wire(m);                                                
                vm_page_unhold(m);                                              
                vm_page_unlock(m);                                              
        }                                                                       

-- 
Steve
_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to