From owner-svn-src-head@freebsd.org Wed Oct 18 13:10:02 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A54BE3881F; Wed, 18 Oct 2017 13:10:02 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F04667CBF2; Wed, 18 Oct 2017 13:10:01 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id 2734B1E0A6; Wed, 18 Oct 2017 13:10:01 +0000 (UTC) Date: Wed, 18 Oct 2017 13:10:01 +0000 From: Alexey Dokuchaev To: Konstantin Belousov 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> References: <201710180727.v9I7RhFr001968@repo.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201710180727.v9I7RhFr001968@repo.freebsd.org> User-Agent: Mutt/1.8.3 (2017-05-23) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Oct 2017 13:10:02 -0000 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