[PATCH -tip 1/2] [BUGFIX]kprobes/x86: Fix page-fault handling logic

2014-02-19 Thread Masami Hiramatsu
Current kprobes in-kernel page fault handler doesn't expect that its single-stepping can be interrupted by an NMI handler which may cause a page fault(e.g. perf with callback tracing). In that case, the page-fault handled by kprobes and it misunderstands the page-fault has been caused by the

[PATCH -tip 1/2] [BUGFIX]kprobes/x86: Fix page-fault handling logic

2014-02-19 Thread Masami Hiramatsu
Current kprobes in-kernel page fault handler doesn't expect that its single-stepping can be interrupted by an NMI handler which may cause a page fault(e.g. perf with callback tracing). In that case, the page-fault handled by kprobes and it misunderstands the page-fault has been caused by the