summaryrefslogtreecommitdiff
path: root/crypto/md5.c
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2017-01-24 23:18:10 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-02-01 07:33:14 (GMT)
commitf5f415c13209c5a7a71da85462815288321483df (patch)
tree50bceed5800e394a9bf4b46f85cdfd47c9c15552 /crypto/md5.c
parent98185d4b18a14dad0b95efd85225960b5435727d (diff)
downloadlinux-f5f415c13209c5a7a71da85462815288321483df.tar.xz
mm, memcg: do not retry precharge charges
commit 3674534b775354516e5c148ea48f51d4d1909a78 upstream. When memory.move_charge_at_immigrate is enabled and precharges are depleted during move, mem_cgroup_move_charge_pte_range() will attempt to increase the size of the precharge. Prevent precharges from ever looping by setting __GFP_NORETRY. This was probably the intention of the GFP_KERNEL & ~__GFP_NORETRY, which is pointless as written. Fixes: 0029e19ebf84 ("mm: memcontrol: remove explicit OOM parameter in charge path") Link: http://lkml.kernel.org/r/alpine.DEB.2.10.1701130208510.69402@chino.kir.corp.google.com Signed-off-by: David Rientjes <rientjes@google.com> Acked-by: Michal Hocko <mhocko@suse.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Vladimir Davydov <vdavydov.dev@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/md5.c')
0 files changed, 0 insertions, 0 deletions