svn commit: r303244 - head/sys/vm

Mark Johnston markj at FreeBSD.org
Sat Jul 23 21:03:26 UTC 2016


Author: markj
Date: Sat Jul 23 21:03:25 2016
New Revision: 303244
URL: https://svnweb.freebsd.org/changeset/base/303244

Log:
  Correct a comment - each page queue has its own lock.
  
  Reviewed by:	alc
  MFC after:	3 days

Modified:
  head/sys/vm/vm_pageout.c

Modified: head/sys/vm/vm_pageout.c
==============================================================================
--- head/sys/vm/vm_pageout.c	Sat Jul 23 21:02:36 2016	(r303243)
+++ head/sys/vm/vm_pageout.c	Sat Jul 23 21:03:25 2016	(r303244)
@@ -267,7 +267,7 @@ vm_pageout_init_marker(vm_page_t marker,
  * 
  * Lock vm object currently associated with `m'. VM_OBJECT_TRYWLOCK is
  * known to have failed and page queue must be either PQ_ACTIVE or
- * PQ_INACTIVE.  To avoid lock order violation, unlock the page queues
+ * PQ_INACTIVE.  To avoid lock order violation, unlock the page queue
  * while locking the vm object.  Use marker page to detect page queue
  * changes and maintain notion of next page on page queue.  Return
  * TRUE if no changes were detected, FALSE otherwise.  vm object is


More information about the svn-src-all mailing list