]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: memcontrol: retry reclaim for oom-disabled and __GFP_NOFAIL charges
authorJohannes Weiner <hannes@cmpxchg.org>
Thu, 26 Jun 2014 00:42:37 +0000 (10:42 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 26 Jun 2014 00:42:37 +0000 (10:42 +1000)
commit5acd1dcaafd43b09989a7c07d7e1bb09ab75e3c6
treef9d11aae0fc7c5c4b13b59a95296db4541c8b5b4
parent6913750fec854bb788064a8a70416063c544d644
mm: memcontrol: retry reclaim for oom-disabled and __GFP_NOFAIL charges

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 <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.cz>
Cc: Hugh Dickins <hughd@google.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Vladimir Davydov <vdavydov@parallels.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memcontrol.c