Re: [patch 09/12] mm: page_alloc: private memory reserves for OOM-killing allocations

2015-04-24 Thread Johannes Weiner
On Tue, Apr 14, 2015 at 06:49:40PM +0200, Michal Hocko wrote: > On Wed 25-03-15 02:17:13, Johannes Weiner wrote: > > @@ -5747,17 +5765,18 @@ static void __setup_per_zone_wmarks(void) > > > > min_pages = zone->managed_pages / 1024; > > min_pages = clamp(min_

Re: [patch 09/12] mm: page_alloc: private memory reserves for OOM-killing allocations

2015-04-14 Thread Michal Hocko
[Sorry for the late reply] On Wed 25-03-15 02:17:13, Johannes Weiner wrote: > The OOM killer connects random tasks in the system with unknown > dependencies between them, and the OOM victim might well get blocked > behind the task that is trying to allocate. That means that while > allocations ca

[patch 09/12] mm: page_alloc: private memory reserves for OOM-killing allocations

2015-03-24 Thread Johannes Weiner
The OOM killer connects random tasks in the system with unknown dependencies between them, and the OOM victim might well get blocked behind the task that is trying to allocate. That means that while allocations can issue OOM kills to improve the low memory situation, which generally frees more tha