svn commit: r349799 - head/sys/vm

Doug Moore dougm at FreeBSD.org
Sun Jul 7 06:57:05 UTC 2019


Author: dougm
Date: Sun Jul  7 06:57:04 2019
New Revision: 349799
URL: https://svnweb.freebsd.org/changeset/base/349799

Log:
  A style-related change, r349791, made unclear the meaning of a
  comment. Rewrite that comment to improve its clarity.
  
  Reported by: cem
  Reviewed by: alc, cem
  Approved by: kib, markj (mentors, implicit)
  Differential Revision: https://reviews.freebsd.org/D20871

Modified:
  head/sys/vm/swap_pager.c

Modified: head/sys/vm/swap_pager.c
==============================================================================
--- head/sys/vm/swap_pager.c	Sun Jul  7 06:06:48 2019	(r349798)
+++ head/sys/vm/swap_pager.c	Sun Jul  7 06:57:04 2019	(r349799)
@@ -523,8 +523,8 @@ swap_pager_swap_init(void)
 	 * but it isn't very efficient).
 	 *
 	 * The nsw_cluster_max is constrained by the bp->b_pages[]
-	 * array MAXPHYS / PAGE_SIZE and our locally defined
-	 * MAX_PAGEOUT_CLUSTER.   Also be aware that swap ops are
+	 * array, which has MAXPHYS / PAGE_SIZE entries, and our locally
+	 * defined MAX_PAGEOUT_CLUSTER.   Also be aware that swap ops are
 	 * constrained by the swap device interleave stripe size.
 	 *
 	 * Currently we hardwire nsw_wcount_async to 4.  This limit is


More information about the svn-src-head mailing list