Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1441448

Re: [PATCH 14/34] mm, memcg: move memcg limit enforcement from zones to nodes

From Johannes Weiner <hannes@cmpxchg.org>
Newsgroups linux.kernel
Subject Re: [PATCH 14/34] mm, memcg: move memcg limit enforcement from zones to nodes
Date 2016-07-12 16:40 +0200
Message-ID <rU70T-6aC-57@gated-at.bofh.it> (permalink)
References <rSAqm-2Tv-3@gated-at.bofh.it> <rSAqm-2Tv-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Jul 08, 2016 at 10:34:50AM +0100, Mel Gorman wrote:
> Memcg needs adjustment after moving LRUs to the node. Limits are tracked
> per memcg but the soft-limit excess is tracked per zone. As global page
> reclaim is based on the node, it is easy to imagine a situation where
> a zone soft limit is exceeded even though the memcg limit is fine.
> 
> This patch moves the soft limit tree the node.  Technically, all the variable
> names should also change but people are already familiar by the meaning of
> "mz" even if "mn" would be a more appropriate name now.
> 
> Signed-off-by: Mel Gorman <mgorman@techsingularity.net>
> Acked-by: Michal Hocko <mhocko@suse.com>

Yep, the soft limit tracking scope needs to match the reclaim scope.

Nice patch :)

Acked-by: Johannes Weiner <hannes@cmpxchg.org>

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 14/34] mm, memcg: move memcg limit enforcement from zones  to nodes Johannes Weiner <hannes@cmpxchg.org> - 2016-07-12 16:40 +0200

csiph-web