Re: [PATCH] mm,vmscan: only loop back if compaction would fail in all zones

2012-11-27 Thread Valdis . Kletnieks
On Sun, 25 Nov 2012 23:10:41 -0500, Johannes Weiner said: > From: Johannes Weiner > Subject: [patch] mm: vmscan: fix endless loop in kswapd balancing > > Kswapd does not in all places have the same criteria for when it > considers a zone balanced. This leads to zones being not reclaimed >

Re: [PATCH] mm,vmscan: only loop back if compaction would fail in all zones

2012-11-27 Thread Valdis . Kletnieks
On Sun, 25 Nov 2012 23:10:41 -0500, Johannes Weiner said: From: Johannes Weiner han...@cmpxchg.org Subject: [patch] mm: vmscan: fix endless loop in kswapd balancing Kswapd does not in all places have the same criteria for when it considers a zone balanced. This leads to zones being not

Re: [PATCH] mm,vmscan: only loop back if compaction would fail in all zones

2012-11-26 Thread Rik van Riel
On 11/25/2012 11:10 PM, Johannes Weiner wrote: From: Johannes Weiner Subject: [patch] mm: vmscan: fix endless loop in kswapd balancing Kswapd does not in all places have the same criteria for when it considers a zone balanced. This leads to zones being not reclaimed because they are

Re: [PATCH] mm,vmscan: only loop back if compaction would fail in all zones

2012-11-26 Thread Johannes Hirte
Am Sun, 25 Nov 2012 23:10:41 -0500 schrieb Johannes Weiner : > On Sun, Nov 25, 2012 at 10:15:18PM -0500, Johannes Weiner wrote: > > On Sun, Nov 25, 2012 at 07:16:45PM -0500, Rik van Riel wrote: > > > On Sun, 25 Nov 2012 17:44:33 -0500 > > > Johannes Weiner wrote: > > > > On Sun, Nov 25, 2012 at

Re: [PATCH] mm,vmscan: only loop back if compaction would fail in all zones

2012-11-26 Thread Johannes Hirte
Am Sun, 25 Nov 2012 23:10:41 -0500 schrieb Johannes Weiner han...@cmpxchg.org: On Sun, Nov 25, 2012 at 10:15:18PM -0500, Johannes Weiner wrote: On Sun, Nov 25, 2012 at 07:16:45PM -0500, Rik van Riel wrote: On Sun, 25 Nov 2012 17:44:33 -0500 Johannes Weiner han...@cmpxchg.org wrote:

Re: [PATCH] mm,vmscan: only loop back if compaction would fail in all zones

2012-11-26 Thread Rik van Riel
On 11/25/2012 11:10 PM, Johannes Weiner wrote: From: Johannes Weiner han...@cmpxchg.org Subject: [patch] mm: vmscan: fix endless loop in kswapd balancing Kswapd does not in all places have the same criteria for when it considers a zone balanced. This leads to zones being not reclaimed because

Re: [PATCH] mm,vmscan: only loop back if compaction would fail in all zones

2012-11-25 Thread Johannes Weiner
On Sun, Nov 25, 2012 at 10:15:18PM -0500, Johannes Weiner wrote: > On Sun, Nov 25, 2012 at 07:16:45PM -0500, Rik van Riel wrote: > > On Sun, 25 Nov 2012 17:44:33 -0500 > > Johannes Weiner wrote: > > > On Sun, Nov 25, 2012 at 01:29:50PM -0500, Rik van Riel wrote: > > > > > > Could you try this

Re: [PATCH] mm,vmscan: only loop back if compaction would fail in all zones

2012-11-25 Thread Johannes Weiner
On Sun, Nov 25, 2012 at 07:16:45PM -0500, Rik van Riel wrote: > On Sun, 25 Nov 2012 17:44:33 -0500 > Johannes Weiner wrote: > > On Sun, Nov 25, 2012 at 01:29:50PM -0500, Rik van Riel wrote: > > > > Could you try this patch? > > > > It's not quite enough because it's not reaching the conditions

[PATCH] mm,vmscan: only loop back if compaction would fail in all zones

2012-11-25 Thread Rik van Riel
On Sun, 25 Nov 2012 17:44:33 -0500 Johannes Weiner wrote: > On Sun, Nov 25, 2012 at 01:29:50PM -0500, Rik van Riel wrote: > > Could you try this patch? > > It's not quite enough because it's not reaching the conditions you > changed, see analysis in https://lkml.org/lkml/2012/11/20/567

[PATCH] mm,vmscan: only loop back if compaction would fail in all zones

2012-11-25 Thread Rik van Riel
On Sun, 25 Nov 2012 17:44:33 -0500 Johannes Weiner han...@cmpxchg.org wrote: On Sun, Nov 25, 2012 at 01:29:50PM -0500, Rik van Riel wrote: Could you try this patch? It's not quite enough because it's not reaching the conditions you changed, see analysis in

Re: [PATCH] mm,vmscan: only loop back if compaction would fail in all zones

2012-11-25 Thread Johannes Weiner
On Sun, Nov 25, 2012 at 07:16:45PM -0500, Rik van Riel wrote: On Sun, 25 Nov 2012 17:44:33 -0500 Johannes Weiner han...@cmpxchg.org wrote: On Sun, Nov 25, 2012 at 01:29:50PM -0500, Rik van Riel wrote: Could you try this patch? It's not quite enough because it's not reaching the

Re: [PATCH] mm,vmscan: only loop back if compaction would fail in all zones

2012-11-25 Thread Johannes Weiner
On Sun, Nov 25, 2012 at 10:15:18PM -0500, Johannes Weiner wrote: On Sun, Nov 25, 2012 at 07:16:45PM -0500, Rik van Riel wrote: On Sun, 25 Nov 2012 17:44:33 -0500 Johannes Weiner han...@cmpxchg.org wrote: On Sun, Nov 25, 2012 at 01:29:50PM -0500, Rik van Riel wrote: Could you try