diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2017-08-28 08:47:22 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-08-29 11:42:23 +0200 |
commit | 11a7ffb01703c3bbb1e9b968893f4487a1b0b5a8 (patch) | |
tree | 938e6fb9f52b79afbf4a8d25eac25cfa5d315178 /fs/fscache | |
parent | 2feb1b316d48004d905278c02a55902cab0be8be (diff) | |
download | op-kernel-dev-11a7ffb01703c3bbb1e9b968893f4487a1b0b5a8.zip op-kernel-dev-11a7ffb01703c3bbb1e9b968893f4487a1b0b5a8.tar.gz |
x86/traps: Simplify pagefault tracing logic
Make use of the new irqvector tracing static key and remove the duplicated
trace_do_pagefault() implementation.
If irq vector tracing is disabled, then the overhead of this is a single
NOP5, which is a reasonable tradeoff to avoid duplicated code and the
unholy macro mess.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/20170828064956.672965407@linutronix.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'fs/fscache')
0 files changed, 0 insertions, 0 deletions