[Devel] [PATCH rh7] mm/memcg: drop extra mem_cgroup_inc_failcnt()
Andrey Ryabinin
aryabinin at virtuozzo.com
Wed Aug 30 14:20:18 MSK 2017
We need only one. Shoud be merged into
c6f8224e23d8cf ("ms/mm: memcontrol: rewrite charge API")
https://jira.sw.ru/browse/PSBM-70741
Signed-off-by: Andrey Ryabinin <aryabinin at virtuozzo.com>
---
mm/memcontrol.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index 97824e281d7a..940cca31ed5d 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -2880,7 +2880,6 @@ retry:
goto bypass;
mem_cgroup_oom(mem_over_limit, gfp_mask, get_order(batch * PAGE_SIZE));
- mem_cgroup_inc_failcnt(mem_over_limit, gfp_mask, nr_pages);
nomem:
mem_cgroup_inc_failcnt(mem_over_limit, gfp_mask, nr_pages);
--
2.13.5
More information about the Devel
mailing list