Date: Tue, 28 Aug 2012 19:23:04 +0000 (UTC) From: Sergey Kandaurov <pluknet@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r239789 - stable/9/sys/vm Message-ID: <201208281923.q7SJN4XW017484@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208281923.q7SJN4XW017484>