From 23b5c8fe3d87622bb7f1c6bdbf747740d9cde683 Mon Sep 17 00:00:00 2001 From: Andrey Zonov Date: Mon, 29 Jul 2013 18:48:51 +0000 Subject: [PATCH] Unbreak sysctl ABI changes introduced in r253662 Requested by: bde --- sys/vm/vm_param.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/vm/vm_param.h b/sys/vm/vm_param.h index 44306be3a0cf..22401fd80588 100644 --- a/sys/vm/vm_param.h +++ b/sys/vm/vm_param.h @@ -82,8 +82,9 @@ #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_SWAPPING_ENABLED 10 /* swapping enabled */ -#define VM_MAXID 11 /* number of valid vm ids */ +#define VM_OBSOLETE_10 10 /* pageout algorithm */ +#define VM_SWAPPING_ENABLED 11 /* swapping enabled */ +#define VM_MAXID 12 /* number of valid vm ids */ #define CTL_VM_NAMES { \ { 0, 0 }, \ @@ -96,6 +97,7 @@ { "v_cache_min", CTLTYPE_UINT }, \ { "v_cache_max", CTLTYPE_UINT }, \ { "v_pageout_free_min", CTLTYPE_UINT}, \ + { "obsolete_pageout_algorithm", CTLTYPE_INT}, \ { "swap_enabled", CTLTYPE_INT},\ }