[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20151113.110026.2097026445648423318.davem@davemloft.net>
Date: Fri, 13 Nov 2015 11:00:26 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: hannes@...xchg.org
Cc: akpm@...ux-foundation.org, vdavydov@...tuozzo.com, tj@...nel.org,
mhocko@...e.cz, netdev@...r.kernel.org, linux-mm@...ck.org,
cgroups@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-team@...com
Subject: Re: [PATCH 04/14] net: tcp_memcontrol: remove bogus hierarchy
pressure propagation
From: Johannes Weiner <hannes@...xchg.org>
Date: Thu, 12 Nov 2015 18:41:23 -0500
> When a cgroup currently breaches its socket memory limit, it enters
> memory pressure mode for itself and its *ancestors*. This throttles
> transmission in unrelated sibling and cousin subtrees that have
> nothing to do with the breached limit.
>
> On the contrary, breaching a limit should make that group and its
> *children* enter memory pressure mode. But this happens already,
> albeit lazily: if an ancestor limit is breached, siblings will enter
> memory pressure on their own once the next packet arrives for them.
>
> So no additional hierarchy code is needed. Remove the bogus stuff.
>
> Signed-off-by: Johannes Weiner <hannes@...xchg.org>
Acked-by: David S. Miller <davem@...emloft.net>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists