Author: pluknet
Date: Mon Aug 27 10:59:49 2012
New Revision: 239723
URL: http://svn.freebsd.org/changeset/base/239723
Log:
Typo in previous change: print half the theoretical maximum as maximum
recommended amount.
Reported by: <site freebsd at orientalsensation com>
Reviewed by: des
Modified:
head/sys/vm/swap_pager.c
Modified: head/sys/vm/swap_pager.c
==============================================================================
--- head/sys/vm/swap_pager.c Mon Aug 27 04:43:30 2012 (r239722)
+++ head/sys/vm/swap_pager.c Mon Aug 27 10:59:49 2012 (r239723)
@@ -2135,7 +2135,7 @@ swapon_check_swzone(unsigned long npages
if (npages > maxpages / 2) {
printf("warning: total configured swap (%lu pages) "
"exceeds maximum recommended amount (%lu pages).\n",
- npages, maxpages);
+ npages, maxpages / 2);
printf("warning: increase kern.maxswzone "
"or reduce amount of swap.\n");
return (-1);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"