Re: [PATCH] mm,oom: Always sleep before retrying.

2015-12-31 Thread Tetsuo Handa
Tetsuo Handa wrote: > When we entered into "Reclaim has failed us, start killing things" > state, sleep function is called only when mutex_trylock(&oom_lock) > in __alloc_pages_may_oom() failed or immediately after returning from > oom_kill_process() in out_of_memory(). This may be insufficient for

[PATCH] mm,oom: Always sleep before retrying.

2015-12-29 Thread Tetsuo Handa
>From c0b5820c594343e06239f15afb35d23b4b8ac0d0 Mon Sep 17 00:00:00 2001 From: Tetsuo Handa Date: Wed, 30 Dec 2015 10:55:59 +0900 Subject: [PATCH] mm,oom: Always sleep before retrying. When we entered into "Reclaim has failed us, start killing things" state, sleep function is cal