summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2015-06-21 06:28:26 +0000
committertrasz <trasz@FreeBSD.org>2015-06-21 06:28:26 +0000
commite1055c772b450db60c53109ac296de1c9322438d (patch)
treec4fe9dc7d6f9ae04616fa06a004cd2d251b922b7 /sys/sparc64
parent964ee5e924b5e0ab8fa3866fa26b2c4f8642d656 (diff)
downloadFreeBSD-src-e1055c772b450db60c53109ac296de1c9322438d.zip
FreeBSD-src-e1055c772b450db60c53109ac296de1c9322438d.tar.gz
MFC r282213:
Add kern.racct.enable tunable and RACCT_DISABLED config option. The point of this is to be able to add RACCT (with RACCT_DISABLED) to GENERIC, to avoid having to rebuild the kernel to use rctl(8). MFC r282901: Build GENERIC with RACCT/RCTL support by default. Note that it still needs to be enabled by adding "kern.racct.enable=1" to /boot/loader.conf. Note those two are MFC-ed together, because the latter one changes the name of RACCT_DISABLED option to RACCT_DEFAULT_TO_DISABLED. Should have committed the renaming separately... Relnotes: yes Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/sparc64')
-rw-r--r--sys/sparc64/conf/GENERIC3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sparc64/conf/GENERIC b/sys/sparc64/conf/GENERIC
index 7b6905c..5ba1adc 100644
--- a/sys/sparc64/conf/GENERIC
+++ b/sys/sparc64/conf/GENERIC
@@ -66,6 +66,9 @@ options CAPABILITIES # Capsicum capabilities
options PROCDESC # Support for process descriptors
options MAC # TrustedBSD MAC Framework
options INCLUDE_CONFIG_FILE # Include this file in kernel
+options RACCT # Resource accounting framework
+options RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
+options RCTL # Resource limits
# Debugging support. Always need this:
options KDB # Enable kernel debugger support.
OpenPOWER on IntegriCloud