[Devel] [PATCH rh7] mm/memcg: increase reparent timeout

Andrey Ryabinin aryabinin at virtuozzo.com
Wed Aug 7 12:41:52 MSK 2019


Make it 20 min.

https://jira.sw.ru/browse/PSBM-96889
Signed-off-by: Andrey Ryabinin <aryabinin at virtuozzo.com>
---
 mm/memcontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index 884f1596bb24..28e777ab75ea 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -4344,7 +4344,7 @@ static void mem_cgroup_reparent_charges(struct mem_cgroup *memcg)
 {
 	int node, zid;
 	/* Protection from leaked memcg->memory counter. */
-	unsigned long timeout = jiffies + HZ*120;
+	unsigned long timeout = jiffies + HZ*1200;
 
 	do {
 		/* This is for making all *used* pages to be on LRU. */
-- 
2.21.0



More information about the Devel mailing list