From owner-svn-src-head@FreeBSD.ORG Thu Jul 25 23:01:24 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 69573E91; Thu, 25 Jul 2013 23:01:24 +0000 (UTC) (envelope-from alc@rice.edu) Received: from pp1.rice.edu (proofpoint1.mail.rice.edu [128.42.201.100]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 965662621; Thu, 25 Jul 2013 23:01:23 +0000 (UTC) Received: from pps.filterd (pp1.rice.edu [127.0.0.1]) by pp1.rice.edu (8.14.5/8.14.5) with SMTP id r6PHfZF0027463; Thu, 25 Jul 2013 18:01:22 -0500 Received: from mh2.mail.rice.edu (mh2.mail.rice.edu [128.42.201.21]) by pp1.rice.edu with ESMTP id 1dsymjh8jp-1; Thu, 25 Jul 2013 18:01:22 -0500 X-Virus-Scanned: by amavis-2.7.0 at mh2.mail.rice.edu, auth channel Received: from [10.104.199.202] (unknown [131.107.165.81]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (Authenticated sender: alc) by mh2.mail.rice.edu (Postfix) with ESMTPSA id 54DA250013E; Thu, 25 Jul 2013 18:01:21 -0500 (CDT) Subject: Re: svn commit: r253587 - head/sys/vm Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Alan Cox In-Reply-To: <51F1A97A.8050405@FreeBSD.org> Date: Thu, 25 Jul 2013 16:01:16 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <201307240125.r6O1PuQG043670@svn.freebsd.org> <51F1A97A.8050405@FreeBSD.org> To: Andrey Zonov X-Mailer: Apple Mail (2.1085) Cc: svn-src-head@freebsd.org, Jeff Roberson , src-committers@freebsd.org, svn-src-all@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: Thu, 25 Jul 2013 23:01:24 -0000 On Jul 25, 2013, at 3:40 PM, Andrey Zonov wrote: > On 7/23/13 6:25 PM, Jeff Roberson wrote: >> Author: jeff >> Date: Wed Jul 24 01:25:56 2013 >> New Revision: 253587 >> URL: http://svnweb.freebsd.org/changeset/base/253587 >>=20 >> Log: >> - Remove the long obsolete 'vm_pageout_algorithm' experiment. >>=20 >=20 > There is more of it. >=20 Thank you. Please commit this. =20 Alan > diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3 > index d689b7c..7d7b90a 100644 > --- a/lib/libc/gen/sysctl.3 > +++ b/lib/libc/gen/sysctl.3 > @@ -735,7 +735,6 @@ privilege may change the value. > .It Sy "Second level name Type Changeable" > .It "VM_LOADAVG struct loadavg no" > .It "VM_TOTAL struct vmtotal no" > -.It "VM_PAGEOUT_ALGORITHM integer yes" > .It "VM_SWAPPING_ENABLED integer maybe" > .It "VM_V_CACHE_MAX integer yes" > .It "VM_V_CACHE_MIN integer yes" > @@ -754,9 +753,6 @@ The returned data consists of a > Return the system wide virtual memory statistics. > The returned data consists of a > .Va struct vmtotal . > -.It Li VM_PAGEOUT_ALGORITHM > -0 if the statistics-based page management algorithm is in use > -or 1 if the near-LRU algorithm is in use. > .It Li VM_SWAPPING_ENABLED > 1 if process swapping is enabled or 0 if disabled. > This variable is > diff --git a/sys/vm/vm_param.h b/sys/vm/vm_param.h > index c404989..44306be 100644 > --- a/sys/vm/vm_param.h > +++ b/sys/vm/vm_param.h > @@ -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 */ >=20 > #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},\ > } >=20 > diff --git a/tools/tools/sysdoc/tunables.mdoc > b/tools/tools/sysdoc/tunables.mdoc > index 35ef9c0..8b426e6 100644 > --- a/tools/tools/sysdoc/tunables.mdoc > +++ b/tools/tools/sysdoc/tunables.mdoc > @@ -2259,9 +2259,6 @@ Displays the number of swap devices available > to the system. This is a read-only variable. >=20 > --- > -vm.pageout_algorithm > - > ---- > vm.pageout_full_stats_interval >=20 > --- >=20 >=20 > --=20 > Andrey Zonov >=20