summaryrefslogtreecommitdiff
path: root/Documentation/accounting
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2021-05-04 22:43:32 +0200
committerPeter Zijlstra <peterz@infradead.org>2021-05-12 11:43:25 +0200
commite4042ad492357fa995921376462b04a025dd53b6 (patch)
tree17a443a2b9b1be2276664e026f63e0c6b97127dd /Documentation/accounting
parenteee4d9fee2544389e5ce5697ed92db67c86d7a9f (diff)
delayacct: Default disabled
Assuming this stuff isn't actually used much; disable it by default and avoid allocating and tracking the task_delay_info structure. taskstats is changed to still report the regular sched and sched_info and only skip the missing task_delay_info fields instead of not reporting anything. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Ingo Molnar <mingo@kernel.org> Link: https://lkml.kernel.org/r/20210505111525.308018373@infradead.org
Diffstat (limited to 'Documentation/accounting')
-rw-r--r--Documentation/accounting/delay-accounting.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/accounting/delay-accounting.rst b/Documentation/accounting/delay-accounting.rst
index 7cc7f5852da0..f20b282d6de0 100644
--- a/Documentation/accounting/delay-accounting.rst
+++ b/Documentation/accounting/delay-accounting.rst
@@ -69,13 +69,13 @@ Compile the kernel with::
CONFIG_TASK_DELAY_ACCT=y
CONFIG_TASKSTATS=y
-Delay accounting is enabled by default at boot up.
-To disable, add::
+Delay accounting is disabled by default at boot up.
+To enable, add::
- nodelayacct
+ delayacct
to the kernel boot options. The rest of the instructions
-below assume this has not been done.
+below assume this has been done.
After the system has booted up, use a utility
similar to getdelays.c to access the delays