Re: [PATCH v9 2/3] trace,x86: add x86 irq vector tracepoints

From: Steven Rostedt
Date: Mon Feb 18 2013 - 23:24:33 EST

On Mon, 2013-02-18 at 15:49 -0800, H. Peter Anvin wrote:

> What about the following:
> > The base address of the IDT doesn't generally change... the one
> > exception is when we do the funny NMI workaround.
> >
> > For that reason, I would be happier if we just restored the standard
> > value instead of saving/restoring stuff.

Basically what you are saying, is to have his code do what the NMI code
originally did, but can't now, due to there being another IDT table
(from Seiji's changes).

static void switch_to_trace_idt(void *arg)

static void restore_original_idt(void *arg)

-- Steve

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at