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

From: Vineet Gupta
Date: Thu Aug 02 2018 - 17:55:14 EST


On 08/02/2018 12:08 AM, Alexey Brodkin wrote:
>> The fault handling is spaghetti mess of checks and more checks and has not really
>> been touched since upstreaming. I need to clean it up and essentially rewrite it
>> for v4.19
> So would you like me to send a re-spin with less changes as discussed above so
> we have something better for now and for back-porting to stable branches.

No that's fine, I'll fix it up here - minimally for the stable backports and do
the rewrite later.

BTW I tried to reproduce the Old OOM hangs from LTP (STARS 9001304674, 9001281305)
to prove that this fix solves those too, but I can't seem to reproduce the same
deadlock without this fix on 4.17 kernel.

-Vineet