diff options
author | alc <alc@FreeBSD.org> | 2006-10-22 21:18:48 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2006-10-22 21:18:48 +0000 |
commit | 5d9c66a3f8fe76b65b02406c551668f4b645abf5 (patch) | |
tree | 43e03c6bedc6aa126229bf727c93fe15277a8a53 /sys/pci | |
parent | cc74fcabb418a714919dc9abc75e57e47b0a058c (diff) | |
download | FreeBSD-src-5d9c66a3f8fe76b65b02406c551668f4b645abf5.zip FreeBSD-src-5d9c66a3f8fe76b65b02406c551668f4b645abf5.tar.gz |
The page queues lock is no longer required by vm_page_busy() or
vm_page_wakeup(). Reduce or eliminate its use accordingly.
Diffstat (limited to 'sys/pci')
-rw-r--r-- | sys/pci/agp.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/pci/agp.c b/sys/pci/agp.c index 7fdbb73..3b38641 100644 --- a/sys/pci/agp.c +++ b/sys/pci/agp.c @@ -529,17 +529,13 @@ agp_generic_bind_memory(device_t dev, struct agp_memory *mem, * Bail out. Reverse all the mappings * and unwire the pages. */ - vm_page_lock_queues(); vm_page_wakeup(m); - vm_page_unlock_queues(); for (k = 0; k < i + j; k += AGP_PAGE_SIZE) AGP_UNBIND_PAGE(dev, offset + k); goto bad; } } - vm_page_lock_queues(); vm_page_wakeup(m); - vm_page_unlock_queues(); } VM_OBJECT_UNLOCK(mem->am_obj); |