aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/racct.h
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2018-11-29 05:17:16 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2018-11-29 05:17:16 +0000
commiteec8d0a378b1d09394d7306a59d71e0503f517bd (patch)
tree635a51840bb745a2db5df2a267363f8d96f70d00 /sys/sys/racct.h
parent64cf6a62d419ba4df40ebb12c0dd9130128e0724 (diff)
downloadsrc-eec8d0a378b1d09394d7306a59d71e0503f517bd.tar.gz
src-eec8d0a378b1d09394d7306a59d71e0503f517bd.zip
Convert racct_enable to bool and annotate as __read_frequently
Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=341182
Diffstat (limited to 'sys/sys/racct.h')
-rw-r--r--sys/sys/racct.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/racct.h b/sys/sys/racct.h
index 73ec04a0a0cd..57291e1d45ba 100644
--- a/sys/sys/racct.h
+++ b/sys/sys/racct.h
@@ -91,7 +91,7 @@ struct ucred;
#define RACCT_DECAYING 0x20
extern int racct_types[];
-extern int racct_enable;
+extern bool racct_enable;
#define ASSERT_RACCT_ENABLED() KASSERT(racct_enable, \
("%s called with !racct_enable", __func__))