svn commit: r209793 - head/sys/dev/agp
Konstantin Belousov
kib at FreeBSD.org
Thu Jul 8 08:39:02 UTC 2010
Author: kib
Date: Thu Jul 8 08:39:02 2010
New Revision: 209793
URL: http://svn.freebsd.org/changeset/base/209793
Log:
Do not mention VM_ALLOC_RETRY in comment, and normalize the terminology
(blocking -> sleeping).
Reviewed by: alc
MFC after: 3 days
Modified:
head/sys/dev/agp/agp.c
Modified: head/sys/dev/agp/agp.c
==============================================================================
--- head/sys/dev/agp/agp.c Thu Jul 8 08:37:51 2010 (r209792)
+++ head/sys/dev/agp/agp.c Thu Jul 8 08:39:02 2010 (r209793)
@@ -537,8 +537,8 @@ agp_generic_bind_memory(device_t dev, st
/*
* 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) {
More information about the svn-src-all
mailing list