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);
 }
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to