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) {
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to