Push down the acquisition of the page queues lock into vm_page_unwire().
This commit is contained in:
parent
7ee44a58d7
commit
28a50a192f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=207648
@ -179,9 +179,7 @@ via_free_sg_info(drm_via_sg_info_t *vsg)
|
||||
for (i=0; i < vsg->num_pages; ++i) {
|
||||
if ( NULL != (page = vsg->pages[i])) {
|
||||
vm_page_lock(page);
|
||||
vm_page_lock_queues();
|
||||
vm_page_unwire(page, 0);
|
||||
vm_page_unlock_queues();
|
||||
vm_page_unlock(page);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user