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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to