Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jan 2003 15:12:39 -0800
From:      Arun Sharma <arun.sharma@intel.com>
To:        freebsd-ia64@freebsd.org
Subject:   Exporting vhpt_base and vhpt_size via sysctl ?
Message-ID:  <200301032312.h03NCdr00975@unix-os.sc.intel.com>

next in thread | raw e-mail | index | archive | help

This information may be useful to somebody trying to tune the system.

# sysctl vm.vhpt
vm.vhpt.base: 327680
vm.vhpt.size: 15

--- pmap.c-     Fri Jan  3 12:41:58 2003
+++ pmap.c      Fri Jan  3 12:52:16 2003
@@ -252,6 +252,12 @@
 SYSCTL_INT(_vm_stats_vhpt, OID_AUTO, resident, CTLFLAG_RD,
           &pmap_vhpt_resident, 0, "");
 
+SYSCTL_NODE(_vm, OID_AUTO, vhpt, CTLFLAG_RD, 0, "");
+SYSCTL_INT(_vm_vhpt, OID_AUTO, base, CTLFLAG_RD,
+          &vhpt_base, 0, "");
+SYSCTL_INT(_vm_vhpt, OID_AUTO, size, CTLFLAG_RD,
+          &vhpt_size, 0, "");
+
 static PMAP_INLINE void        free_pv_entry(pv_entry_t pv);
 static pv_entry_t get_pv_entry(void);
 static void    ia64_protection_init(void);

	-Arun


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ia64" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301032312.h03NCdr00975>