From owner-svn-src-head@FreeBSD.ORG Fri Jul 26 15:10:05 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CA0AC27A; Fri, 26 Jul 2013 15:10:05 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from mx1.stack.nl (unknown [IPv6:2001:610:1108:5012::107]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8F9BA20D5; Fri, 26 Jul 2013 15:10:05 +0000 (UTC) Received: from snail.stack.nl (snail.stack.nl [IPv6:2001:610:1108:5010::131]) by mx1.stack.nl (Postfix) with ESMTP id 89EC01203CB; Fri, 26 Jul 2013 17:09:49 +0200 (CEST) Received: by snail.stack.nl (Postfix, from userid 1677) id 7269E28494; Fri, 26 Jul 2013 17:09:49 +0200 (CEST) Date: Fri, 26 Jul 2013 17:09:49 +0200 From: Jilles Tjoelker To: Andrey Zonov Subject: Re: svn commit: r253662 - in head: lib/libc/gen sys/vm tools/tools/sysdoc Message-ID: <20130726150949.GC14175@stack.nl> References: <201307260200.r6Q207cB015223@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201307260200.r6Q207cB015223@svn.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 26 Jul 2013 15:10:05 -0000 On Fri, Jul 26, 2013 at 02:00:07AM +0000, Andrey Zonov wrote: > Author: zont > Date: Fri Jul 26 02:00:06 2013 > New Revision: 253662 > URL: http://svnweb.freebsd.org/changeset/base/253662 > Log: > Remove define and documentation for vm_pageout_algorithm missed in r253587 > Modified: > head/lib/libc/gen/sysctl.3 > head/sys/vm/vm_param.h > head/tools/tools/sysdoc/tunables.mdoc > Modified: head/sys/vm/vm_param.h > ============================================================================== > --- head/sys/vm/vm_param.h Fri Jul 26 00:28:19 2013 (r253661) > +++ head/sys/vm/vm_param.h Fri Jul 26 02:00:06 2013 (r253662) > @@ -82,9 +82,8 @@ > #define VM_V_CACHE_MIN 7 /* cnt.v_cache_min */ > #define VM_V_CACHE_MAX 8 /* cnt.v_cache_max */ > #define VM_V_PAGEOUT_FREE_MIN 9 /* cnt.v_pageout_free_min */ > -#define VM_PAGEOUT_ALGORITHM 10 /* pageout algorithm */ > -#define VM_SWAPPING_ENABLED 11 /* swapping enabled */ > -#define VM_MAXID 12 /* number of valid vm ids */ > +#define VM_SWAPPING_ENABLED 10 /* swapping enabled */ > +#define VM_MAXID 11 /* number of valid vm ids */ As noted in mail from Bruce Evans, please preserve the ABI of VM_SWAPPING_ENABLED here. > #define CTL_VM_NAMES { \ > { 0, 0 }, \ > @@ -97,7 +96,6 @@ > { "v_cache_min", CTLTYPE_UINT }, \ > { "v_cache_max", CTLTYPE_UINT }, \ > { "v_pageout_free_min", CTLTYPE_UINT}, \ > - { "pageout_algorithm", CTLTYPE_INT}, \ > { "swap_enabled", CTLTYPE_INT},\ > } This should be replaced with some sort of dummy rather than replaced entirely (does not matter very much because it should not be used). -- Jilles Tjoelker