svn commit: r334622 - head/sys/vm

Mark Johnston markj at FreeBSD.org
Mon Jun 4 16:46:37 UTC 2018


Author: markj
Date: Mon Jun  4 16:46:36 2018
New Revision: 334622
URL: https://svnweb.freebsd.org/changeset/base/334622

Log:
  Correct the description of vm_pageout_scan_inactive() after r334508.
  
  Reported by:	alc

Modified:
  head/sys/vm/vm_pageout.c

Modified: head/sys/vm/vm_pageout.c
==============================================================================
--- head/sys/vm/vm_pageout.c	Mon Jun  4 16:28:06 2018	(r334621)
+++ head/sys/vm/vm_pageout.c	Mon Jun  4 16:46:36 2018	(r334622)
@@ -1347,9 +1347,8 @@ vm_pageout_reinsert_inactive(struct scan_state *ss, st
 }
 
 /*
- * Attempt to reclaim the requested number of pages.  Returns true if pass was
- * zero or enough pages were freed by the inactive queue scan to meet the
- * target.
+ * Attempt to reclaim the requested number of pages from the inactive queue.
+ * Returns true if the shortage was addressed.
  */
 static int
 vm_pageout_scan_inactive(struct vm_domain *vmd, int shortage,


More information about the svn-src-all mailing list