Re: [Devel] [PATCH rh7] x86, mm, perf: Allow recursive faults from interrupts

2019-01-24 Thread Andrey Ryabinin
On 1/24/19 6:44 PM, Andrey Ryabinin wrote: > From: Peter Zijlstra > > Waiman managed to trigger a PMI while in a emulate_vsyscall() fault, > the PMI in turn managed to trigger a fault while obtaining a stack > trace. This triggered the sig_on_uaccess_error recursive fault logic > and killed th

Re: [Devel] [PATCH rh7] x86, mm, perf: Allow recursive faults from interrupts

2019-01-24 Thread Andrey Ryabinin
This is RK-worthy, please consider. On 1/24/19 6:44 PM, Andrey Ryabinin wrote: > From: Peter Zijlstra > > Waiman managed to trigger a PMI while in a emulate_vsyscall() fault, > the PMI in turn managed to trigger a fault while obtaining a stack > trace. This triggered the sig_on_uaccess_error re

[Devel] [PATCH rh7] x86, mm, perf: Allow recursive faults from interrupts

2019-01-24 Thread Andrey Ryabinin
From: Peter Zijlstra Waiman managed to trigger a PMI while in a emulate_vsyscall() fault, the PMI in turn managed to trigger a fault while obtaining a stack trace. This triggered the sig_on_uaccess_error recursive fault logic and killed the process dead. Fix this by explicitly excluding interrup