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

Andrey Ryabinin aryabinin at virtuozzo.com
Wed Aug 7 14:08:52 MSK 2019



On 8/7/19 12:41 PM, Andrey Ryabinin wrote:
> Make it 20 min.
> 
> https://jira.sw.ru/browse/PSBM-96889

Also https://pmc.acronis.com/browse/VSTOR-25631

> 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. */
> 


More information about the Devel mailing list