Author: kib Date: Wed Oct 18 07:27:43 2017 New Revision: 324716 URL: https://svnweb.freebsd.org/changeset/base/324716
Log: Do not report reduction of swap zone if it was not. After r324600 we see the actual reservation. Reported by: jkim Sponsored by: The FreeBSD Foundation MFC after: 1 week Modified: head/sys/vm/swap_pager.c Modified: head/sys/vm/swap_pager.c ============================================================================== --- head/sys/vm/swap_pager.c Wed Oct 18 03:46:01 2017 (r324715) +++ head/sys/vm/swap_pager.c Wed Oct 18 07:27:43 2017 (r324716) @@ -549,7 +549,7 @@ swap_pager_swap_init(void) */ n = uma_zone_get_max(swblk_zone); - if (n2 != n) + if (n < n2) printf("Swap blk zone entries reduced from %lu to %lu.\n", n2, n); swap_maxpages = n * SWAP_META_PAGES; _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"