summaryrefslogtreecommitdiff
path: root/block/blk-mq.c
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2018-04-04 21:50:15 +0300
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2018-04-06 15:56:52 +0300
commitf7a1570da91558fb85b61e53243fe3fa79e2bbae (patch)
tree36602d82229665a0e1375017a78353d21154610f /block/blk-mq.c
parent927e56db6253225166d521cee3772624347b5cd5 (diff)
downloadlinux-f7a1570da91558fb85b61e53243fe3fa79e2bbae.tar.xz
tracing: Hide global trace clock from lockdep
Function tracing can trace in NMIs and such. If the TSC is determined to be unstable, the tracing clock will switch to the global clock on boot up, unless "trace_clock" is specified on the kernel command line. The global clock disables interrupts to access sched_clock_cpu(), and in doing so can be done within lockdep internals (because of function tracing and NMIs). This can trigger false lockdep splats. The trace_clock_global() is special, best not to trace the irq logic within it. Link: http://lkml.kernel.org/r/20180404145015.77bde42d@gandalf.local.home Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'block/blk-mq.c')
0 files changed, 0 insertions, 0 deletions