Re: How to handle TIF_MEMDIE stalls?

Tetsuo Handa
2015-02-17T12:52:50Z

Johannes Weiner wrote:
> On Mon, Feb 16, 2015 at 08:23:16PM +0900, Tetsuo Handa wrote:
> > (2) Implement TIF_MEMDIE timeout.
>
> How about something like this? This should solve the deadlock problem
> in the page allocator, but it would also simplify the memcg OOM killer
> and allow its use by in-kernel faults again.

Yes, basic idea would be same with
http://marc.info/?l=linux-mm&m=142002495532320&w=2 .

But Michal and David do not like the timeout approach.
http://marc.info/?l=linux-mm&m=141684783713564&w=2
http://marc.info/?l=linux-mm&m=141686814824684&w=2

Unless they change their opinion in response to the discovery explained at
http://lwn.net/Articles/627419/ , timeout patches will not be accepted.