Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jul 2016 21:03:25 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r303244 - head/sys/vm
Message-ID:  <201607232103.u6NL3PZx020076@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607232103.u6NL3PZx020076>