Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jul 2016 21:02:36 +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: r303243 - head/sys/vm
Message-ID:  <201607232102.u6NL2aDD019999@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Sat Jul 23 21:02:36 2016
New Revision: 303243
URL: https://svnweb.freebsd.org/changeset/base/303243

Log:
  Update a comment in vm_page_advise() to match behaviour after r290529.
  
  Reviewed by:	alc
  MFC after:	3 days

Modified:
  head/sys/vm/vm_page.c

Modified: head/sys/vm/vm_page.c
==============================================================================
--- head/sys/vm/vm_page.c	Sat Jul 23 20:50:47 2016	(r303242)
+++ head/sys/vm/vm_page.c	Sat Jul 23 21:02:36 2016	(r303243)
@@ -3411,9 +3411,11 @@ vm_page_advise(vm_page_t m, int advice)
 		vm_page_dirty(m);
 
 	/*
-	 * Place clean pages at the head of the inactive queue rather than the
-	 * tail, thus defeating the queue's LRU operation and ensuring that the
-	 * page will be reused quickly.
+	 * Place clean pages near the head of the inactive queue rather than
+	 * the tail, thus defeating the queue's LRU operation and ensuring that
+	 * the page will be reused quickly.  Dirty pages are given a chance to
+	 * cycle once through the inactive queue before becoming eligible for
+	 * laundering.
 	 */
 	_vm_page_deactivate(m, m->dirty == 0);
 }



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