svn commit: r324716 - head/sys/vm
Alexey Dokuchaev
danfe at FreeBSD.org
Wed Oct 18 13:10:02 UTC 2017
On Wed, Oct 18, 2017 at 07:27:43AM +0000, Konstantin Belousov wrote:
> 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.
>
> [...]
> --- 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);
Nice, self-explanatory variable names, hmm...
./danfe
More information about the svn-src-head
mailing list