svn commit: r209895 - stable/8/sys/dev/agp
Konstantin Belousov
kib at FreeBSD.org
Sun Jul 11 08:43:31 UTC 2010
Author: kib
Date: Sun Jul 11 08:43:30 2010
New Revision: 209895
URL: http://svn.freebsd.org/changeset/base/209895
Log:
MFC r209793:
Do not mention VM_ALLOC_RETRY in comment, and normalize the terminology
(blocking -> sleeping).
Modified:
stable/8/sys/dev/agp/agp.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/xen/xenpci/ (props changed)
Modified: stable/8/sys/dev/agp/agp.c
==============================================================================
--- stable/8/sys/dev/agp/agp.c Sun Jul 11 08:41:30 2010 (r209894)
+++ stable/8/sys/dev/agp/agp.c Sun Jul 11 08:43:30 2010 (r209895)
@@ -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-stable-8
mailing list