diff options
author | peter <peter@FreeBSD.org> | 2002-07-11 08:31:10 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-07-11 08:31:10 +0000 |
commit | cfe10c5fa08af21fd6663198e2a3ceed2ccc8b2e (patch) | |
tree | c8d0480b5ab8ca89c1dafc92e47e5ff8d92fd318 /sys/i386/include | |
parent | 6fd5b8fb09bfaa9f1accb465623160ea8a31536d (diff) | |
download | FreeBSD-src-cfe10c5fa08af21fd6663198e2a3ceed2ccc8b2e.zip FreeBSD-src-cfe10c5fa08af21fd6663198e2a3ceed2ccc8b2e.tar.gz |
Bah, move the invltlb counter to C code and hook a debug sysctl onto it.
Diffstat (limited to 'sys/i386/include')
-rw-r--r-- | sys/i386/include/mptable.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/i386/include/mptable.h b/sys/i386/include/mptable.h index cedf0d6..63fec0e 100644 --- a/sys/i386/include/mptable.h +++ b/sys/i386/include/mptable.h @@ -2190,6 +2190,12 @@ start_ap(int logical_cpu, u_int boot_addr) return 0; /* return FAILURE */ } +#if defined(APIC_IO) && defined(COUNT_XINVLTLB_HITS) +u_int xhits[MAXCPU]; +SYSCTL_OPAQUE(_debug, OID_AUTO, xhits, CTLFLAG_RW, &xhits, sizeof(xhits), + "IU", ""); +#endif + /* * Flush the TLB on all other CPU's * |