Date: Wed, 18 Oct 2017 13:10:01 +0000 From: Alexey Dokuchaev <danfe@FreeBSD.org> To: Konstantin Belousov <kib@FreeBSD.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r324716 - head/sys/vm Message-ID: <20171018131001.GA22776@FreeBSD.org> In-Reply-To: <201710180727.v9I7RhFr001968@repo.freebsd.org> References: <201710180727.v9I7RhFr001968@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171018131001.GA22776>