]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1f1e45591da01b1fda5f4fb43d31af5b3205090a
tree17a443a2b9b1be2276664e026f63e0c6b97127dd
parent0dd5cd3daab05da7eaf94da56dbfc830803b89b1
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