Re: [patch 04/12] mm: memcontrol: retry reclaim for oom-disabled and __GFP_NOFAIL charges

2014-06-17 Thread Michal Hocko
On Tue 17-06-14 11:45:27, Johannes Weiner wrote: > On Tue, Jun 17, 2014 at 03:53:44PM +0200, Michal Hocko wrote: > > On Mon 16-06-14 15:54:24, Johannes Weiner wrote: > > > There is no reason why oom-disabled and __GFP_NOFAIL charges should > > > try to reclaim only once when every other charge

Re: [patch 04/12] mm: memcontrol: retry reclaim for oom-disabled and __GFP_NOFAIL charges

2014-06-17 Thread Johannes Weiner
On Tue, Jun 17, 2014 at 03:53:44PM +0200, Michal Hocko wrote: > On Mon 16-06-14 15:54:24, Johannes Weiner wrote: > > There is no reason why oom-disabled and __GFP_NOFAIL charges should > > try to reclaim only once when every other charge tries several times > > before giving up. Make them all

Re: [patch 04/12] mm: memcontrol: retry reclaim for oom-disabled and __GFP_NOFAIL charges

2014-06-17 Thread Michal Hocko
On Mon 16-06-14 15:54:24, Johannes Weiner wrote: > There is no reason why oom-disabled and __GFP_NOFAIL charges should > try to reclaim only once when every other charge tries several times > before giving up. Make them all retry the same number of times. OK, this makes sense for oom-disabled

Re: [patch 04/12] mm: memcontrol: retry reclaim for oom-disabled and __GFP_NOFAIL charges

2014-06-17 Thread Michal Hocko
On Mon 16-06-14 15:54:24, Johannes Weiner wrote: There is no reason why oom-disabled and __GFP_NOFAIL charges should try to reclaim only once when every other charge tries several times before giving up. Make them all retry the same number of times. OK, this makes sense for oom-disabled and

Re: [patch 04/12] mm: memcontrol: retry reclaim for oom-disabled and __GFP_NOFAIL charges

2014-06-17 Thread Johannes Weiner
On Tue, Jun 17, 2014 at 03:53:44PM +0200, Michal Hocko wrote: On Mon 16-06-14 15:54:24, Johannes Weiner wrote: There is no reason why oom-disabled and __GFP_NOFAIL charges should try to reclaim only once when every other charge tries several times before giving up. Make them all retry the

Re: [patch 04/12] mm: memcontrol: retry reclaim for oom-disabled and __GFP_NOFAIL charges

2014-06-17 Thread Michal Hocko
On Tue 17-06-14 11:45:27, Johannes Weiner wrote: On Tue, Jun 17, 2014 at 03:53:44PM +0200, Michal Hocko wrote: On Mon 16-06-14 15:54:24, Johannes Weiner wrote: There is no reason why oom-disabled and __GFP_NOFAIL charges should try to reclaim only once when every other charge tries

[patch 04/12] mm: memcontrol: retry reclaim for oom-disabled and __GFP_NOFAIL charges

2014-06-16 Thread Johannes Weiner
There is no reason why oom-disabled and __GFP_NOFAIL charges should try to reclaim only once when every other charge tries several times before giving up. Make them all retry the same number of times. Signed-off-by: Johannes Weiner --- mm/memcontrol.c | 8 1 file changed, 4

[patch 04/12] mm: memcontrol: retry reclaim for oom-disabled and __GFP_NOFAIL charges

2014-06-16 Thread Johannes Weiner
There is no reason why oom-disabled and __GFP_NOFAIL charges should try to reclaim only once when every other charge tries several times before giving up. Make them all retry the same number of times. Signed-off-by: Johannes Weiner han...@cmpxchg.org --- mm/memcontrol.c | 8 1 file