delayacct: Default disabled
authorPeter Zijlstra <peterz@infradead.org>
Tue, 4 May 2021 20:43:32 +0000 (22:43 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 12 May 2021 09:43:25 +0000 (11:43 +0200)
commite4042ad492357fa995921376462b04a025dd53b6
tree17a443a2b9b1be2276664e026f63e0c6b97127dd
parenteee4d9fee2544389e5ce5697ed92db67c86d7a9f
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
Documentation/accounting/delay-accounting.rst
Documentation/admin-guide/kernel-parameters.txt
include/linux/delayacct.h
kernel/delayacct.c