]> git.baikalelectronics.ru Git - kernel.git/commit
mm: memcontrol: retry reclaim for oom-disabled and __GFP_NOFAIL charges
authorJohannes Weiner <hannes@cmpxchg.org>
Wed, 6 Aug 2014 23:05:51 +0000 (16:05 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 7 Aug 2014 01:01:17 +0000 (18:01 -0700)
commitd33cc266d3fb3205c935852c1c54004e5d6bdd9a
treeb1022d96acd94bb244449593a355b3dd7138ab71
parente402fa55742ea76d1aab09c87a81ab1722b80113
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memcontrol.c