From owner-svn-src-head@FreeBSD.ORG Thu Jul 25 22:41:12 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 B4D54912 for ; Thu, 25 Jul 2013 22:41:12 +0000 (UTC) (envelope-from andrey@zonov.org) Received: from mail-pb0-f42.google.com (mail-pb0-f42.google.com [209.85.160.42]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 88BB32501 for ; Thu, 25 Jul 2013 22:41:12 +0000 (UTC) Received: by mail-pb0-f42.google.com with SMTP id un1so1307521pbc.15 for ; Thu, 25 Jul 2013 15:41:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :x-gm-message-state; bh=mZPZN2zJ5GUWAHuEvZOOWPzK1Io4PxEAly+/viXPqRQ=; b=npSk6Aw78oHwnUutb/i12tAIf3gEojP29qkzO2JG5KvrB03aCTTCSCC+8PsWj04Zm1 W5celTRva6ENmfSuEy4stHmPNMRUkw+vj1X9T9SZpMzpdz3OiRTHKvrWVEhXNn7duT8f r65oklHdtcK536inas8r1hpBf0WXcfOlgROGsCV5ivEsKWlI15uLX62UiRNRZRVdbIlS nhmxk0Z5u3Z+H3+5K50Oj3Q63qhSWyEYfAM+LpEkJ6NpHLlI7uUaEsSHpsMoV7+Xr9nS G8+5d0cd68UDN65d7DV9tMxTNWc9raiadoUH1pWFLuAjvU5BffZuGCVuTJ7ujdNQzYli sHFg== X-Received: by 10.66.159.132 with SMTP id xc4mr17551459pab.27.1374792066659; Thu, 25 Jul 2013 15:41:06 -0700 (PDT) Received: from zont-osx.swifttest.com (h-74-3-97-61.snva.ca.megapath.net. [74.3.97.61]) by mx.google.com with ESMTPSA id cx3sm56194633pbb.30.2013.07.25.15.41.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 25 Jul 2013 15:41:05 -0700 (PDT) Sender: Andrey Zonov Message-ID: <51F1A97A.8050405@FreeBSD.org> Date: Thu, 25 Jul 2013 15:40:58 -0700 From: Andrey Zonov User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Jeff Roberson Subject: Re: svn commit: r253587 - head/sys/vm References: <201307240125.r6O1PuQG043670@svn.freebsd.org> In-Reply-To: <201307240125.r6O1PuQG043670@svn.freebsd.org> X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2UWIDDNFJSPHXWBCBQASW" X-Gm-Message-State: ALoCoQnpk3cIowtwOaUKnREMC/bLGMXkscv0oMKJKjdrwHVFlyj0xzPS5j2lQylq803PrnMgl80r 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: Thu, 25 Jul 2013 22:41:12 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2UWIDDNFJSPHXWBCBQASW Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 There is more of it. 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= */ #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},\ } 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. --- -vm.pageout_algorithm - ---- vm.pageout_full_stats_interval --- --=20 Andrey Zonov ------enig2UWIDDNFJSPHXWBCBQASW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) Comment: GPGTools - http://gpgtools.org iQEcBAEBAgAGBQJR8al/AAoJEBWLemxX/CvTpp0H/RI0Es8tsLzMQyOwt5Kv1tH5 9hGqg7h/J8EazF95Pm9rx3J1rEd7PHT7zHYQw3Xy0sT4Ixs7vv0MIYkfjc2v2gfR FuLHQ7l9b2vCIDamitp4VyT8/Ya9PFN+6n6Z/BY9IXxLbWHrt/YxukG+6hm8jduh 8vJf0nLLqRXGB7aedKa55pe2J8uQ8qLsdvs3Tmbtm8b0kW6zplYPybhoHeMTXW/Y zWRfHIsjIcP4aHUz6wK0V5XGljcpqUsAyvXSqDPoGsJuqYIPkUBLrsTGVKmfbrr3 hhkTU4v7CH694w3kMdY1vP8SY4z7Upum+PiF3K3BzS18HO+M1Tp/aI0sE6WJksk= =E8I3 -----END PGP SIGNATURE----- ------enig2UWIDDNFJSPHXWBCBQASW--