Re: [patch 06/41] x86/traps: Simplify pagefault tracing logic

From: Andy Lutomirski
Date: Fri Aug 25 2017 - 10:59:54 EST


On Fri, Aug 25, 2017 at 3:31 AM, Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
> 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.

This is great. Thanks!