Date: Sun, 11 Jul 2010 08:43:31 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r209895 - stable/8/sys/dev/agp Message-ID: <201007110843.o6B8hV1L025939@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007110843.o6B8hV1L025939>