summaryrefslogtreecommitdiffstats
path: root/sys/dev/agp
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2010-07-08 08:39:02 +0000
committerkib <kib@FreeBSD.org>2010-07-08 08:39:02 +0000
commit9f82de4aefbce26751373fb3550f3d567496efba (patch)
tree30df2c4af2f3ee08e05bab31ac3247c8fbb9a873 /sys/dev/agp
parent3cf9fcd59a78bb4ed674857a87e8276caeec2236 (diff)
downloadFreeBSD-src-9f82de4aefbce26751373fb3550f3d567496efba.zip
FreeBSD-src-9f82de4aefbce26751373fb3550f3d567496efba.tar.gz
Do not mention VM_ALLOC_RETRY in comment, and normalize the terminology
(blocking -> sleeping). Reviewed by: alc MFC after: 3 days
Diffstat (limited to 'sys/dev/agp')
-rw-r--r--sys/dev/agp/agp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/agp/agp.c b/sys/dev/agp/agp.c
index 577a7e9..ab48085 100644
--- a/sys/dev/agp/agp.c
+++ b/sys/dev/agp/agp.c
@@ -537,8 +537,8 @@ agp_generic_bind_memory(device_t dev, struct agp_memory *mem,
/*
* Allocate the pages early, before acquiring the lock,
- * because vm_page_grab() used with VM_ALLOC_RETRY may
- * block and we can't hold a mutex while blocking.
+ * because vm_page_grab() may sleep and we can't hold a mutex
+ * while sleeping.
*/
VM_OBJECT_LOCK(mem->am_obj);
for (i = 0; i < mem->am_size; i += PAGE_SIZE) {
OpenPOWER on IntegriCloud