Re: [PATCH 0/3] OOM detection rework v4

From: Michal Hocko
Date: Fri Mar 04 2016 - 12:39:23 EST


On Fri 04-03-16 16:15:58, Michal Hocko wrote:
> On Fri 04-03-16 14:23:27, Joonsoo Kim wrote:
[...]
> > Unconditional 16 looping and then OOM kill really doesn't make any
> > sense, because it doesn't mean that we already do our best.
>
> 16 is not really that important. We can change that if that doesn't
> sounds sufficient. But please note that each reclaim round means
> that we have scanned all eligible LRUs to find and reclaim something

this should read "scanned potentially all eligible LRUs..."

> and asked direct compaction to prepare a high order page.
> This sounds like "do our best" to me.


--
Michal Hocko
SUSE Labs