svn commit: r239789 - stable/9/sys/vm
Sergey Kandaurov
pluknet at FreeBSD.org
Tue Aug 28 19:23:05 UTC 2012
Author: pluknet
Date: Tue Aug 28 19:23:04 2012
New Revision: 239789
URL: http://svn.freebsd.org/changeset/base/239789
Log:
MFC r239723:
Typo in previous change: print half the theoretical maximum as maximum
recommended amount.
Modified:
stable/9/sys/vm/swap_pager.c
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/vm/swap_pager.c
==============================================================================
--- stable/9/sys/vm/swap_pager.c Tue Aug 28 18:45:20 2012 (r239788)
+++ stable/9/sys/vm/swap_pager.c Tue Aug 28 19:23:04 2012 (r239789)
@@ -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);
More information about the svn-src-stable-9
mailing list