diff options
author | Alan Cox <alc@FreeBSD.org> | 2010-05-04 15:55:41 +0000 |
---|---|---|
committer | Alan Cox <alc@FreeBSD.org> | 2010-05-04 15:55:41 +0000 |
commit | a7283d32132a41a985e7c92afbc81fcee183a6e5 (patch) | |
tree | 08dad4596fb8ef71c441ab83e48cd31b53d4c26f /sys/dev/drm | |
parent | 24ffe7244813469cd4819dd90132f9083b16f317 (diff) | |
download | src-a7283d32132a41a985e7c92afbc81fcee183a6e5.tar.gz src-a7283d32132a41a985e7c92afbc81fcee183a6e5.zip |
Add page locking to the vm_page_cow* functions.
Push down the acquisition and release of the page queues lock into
vm_page_wire().
Reviewed by: kib
Notes
Notes:
svn path=/head/; revision=207617
Diffstat (limited to 'sys/dev/drm')
-rw-r--r-- | sys/dev/drm/via_dmablit.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/drm/via_dmablit.c b/sys/dev/drm/via_dmablit.c index 72d914eacd88..81d438aea013 100644 --- a/sys/dev/drm/via_dmablit.c +++ b/sys/dev/drm/via_dmablit.c @@ -251,10 +251,8 @@ via_lock_all_dma_pages(drm_via_sg_info_t *vsg, drm_via_dmablit_t *xfer) if (m == NULL) break; vm_page_lock(m); - vm_page_lock_queues(); vm_page_wire(m); vm_page_unhold(m); - vm_page_unlock_queues(); vm_page_unlock(m); vsg->pages[i] = m; } |