Re: [PATCH] ARC: Improve handling of fatal signals in do_page_fault()

2018-08-01 Thread Vineet Gupta
Hi Alexey, I was finally forced to revisit this for my glibc tst-tls3-malloc deadlock. And indeed with this change we don'tsee the deadlock. But see below.. > @@ -139,12 +139,16 @@ void do_page_fault(unsigned long address, struct > pt_regs *regs) >*/ > fault = handle_mm_fault(vma,

Re: ARC show_regs() triggers preempt debug splat, lockdep

2018-08-01 Thread Vineet Gupta
On 08/01/2018 12:53 AM, Peter Zijlstra wrote: > On Tue, Jul 31, 2018 at 02:26:32PM -0700, Vineet Gupta wrote: >> Hi Peter, Al, >> >> Reaching out about a problem I understand, but not quite sure how to fix it. >> Its the weird feeling of how was this working all along, if at all. >> >> With print-f

Re: ARC show_regs() triggers preempt debug splat, lockdep

2018-08-01 Thread Peter Zijlstra
On Tue, Jul 31, 2018 at 02:26:32PM -0700, Vineet Gupta wrote: > Hi Peter, Al, > > Reaching out about a problem I understand, but not quite sure how to fix it. > Its the weird feeling of how was this working all along, if at all. > > With print-fatal-signals enabled, there's CONFIG_DEBUG_PREEMPT s