[PATCH] The nested NMI modifies the place (instruction, flags and stack)

2012-10-01 Thread Salman Qazi
that the first NMI will iret to. However, the copy of registers modified is exactly the one that is the part of pt_regs in the first NMI. This can change the behaviour of the first NMI. In particular, Google's arch_trigger_all_cpu_backtrace handler also prints regions of memory surrounding

[PATCH] The nested NMI modifies the place (instruction, flags and stack)

2012-10-01 Thread Salman Qazi
that the first NMI will iret to. However, the copy of registers modified is exactly the one that is the part of pt_regs in the first NMI. This can change the behaviour of the first NMI. In particular, Google's arch_trigger_all_cpu_backtrace handler also prints regions of memory surrounding