Disable detailed PV entry accounting by default. Add a config option
to enable it. MFC after: 1 week
This commit is contained in:
parent
2774871bdf
commit
5d4c773b32
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=233433
@ -158,7 +158,6 @@ __FBSDID("$FreeBSD$");
|
||||
#define PMAP_INLINE
|
||||
#endif
|
||||
|
||||
#define PV_STATS
|
||||
#ifdef PV_STATS
|
||||
#define PV_STAT(x) do { x ; } while (0)
|
||||
#else
|
||||
|
@ -559,6 +559,10 @@ options LINSYSFS
|
||||
|
||||
options KSTACK_PAGES=5
|
||||
|
||||
# Enable detailed accounting by the PV entry allocator.
|
||||
|
||||
options PV_STATS
|
||||
|
||||
#####################################################################
|
||||
|
||||
# More undocumented options for linting.
|
||||
|
@ -10,6 +10,7 @@ PERFMON
|
||||
MPTABLE_FORCE_HTT
|
||||
MP_WATCHDOG
|
||||
NKPT opt_pmap.h
|
||||
PV_STATS opt_pmap.h
|
||||
|
||||
# Options for emulators. These should only be used at config time, so
|
||||
# they are handled like options for static filesystems
|
||||
|
@ -16,6 +16,7 @@ NKPT opt_pmap.h
|
||||
PERFMON
|
||||
PMAP_SHPGPERPROC opt_pmap.h
|
||||
POWERFAIL_NMI opt_trap.h
|
||||
PV_STATS opt_pmap.h
|
||||
|
||||
# Options for emulators. These should only be used at config time, so
|
||||
# they are handled like options for static filesystems
|
||||
|
@ -976,6 +976,10 @@ device lindev
|
||||
|
||||
options KSTACK_PAGES=3
|
||||
|
||||
# Enable detailed accounting by the PV entry allocator.
|
||||
|
||||
options PV_STATS
|
||||
|
||||
#####################################################################
|
||||
|
||||
# More undocumented options for linting.
|
||||
|
@ -172,7 +172,6 @@ __FBSDID("$FreeBSD$");
|
||||
#define PMAP_INLINE
|
||||
#endif
|
||||
|
||||
#define PV_STATS
|
||||
#ifdef PV_STATS
|
||||
#define PV_STAT(x) do { x ; } while (0)
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user