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