From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030290AbcGLOir (ORCPT ); Tue, 12 Jul 2016 10:38:47 -0400 Received: from gum.cmpxchg.org ([85.214.110.215]:51768 "EHLO gum.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030203AbcGLOio (ORCPT ); Tue, 12 Jul 2016 10:38:44 -0400 Date: Tue, 12 Jul 2016 10:38:28 -0400 From: Johannes Weiner To: Mel Gorman Cc: Andrew Morton , Linux-MM , Rik van Riel , Vlastimil Babka , Minchan Kim , Joonsoo Kim , LKML Subject: Re: [PATCH 14/34] mm, memcg: move memcg limit enforcement from zones to nodes Message-ID: <20160712143828.GH5881@cmpxchg.org> References: <1467970510-21195-1-git-send-email-mgorman@techsingularity.net> <1467970510-21195-15-git-send-email-mgorman@techsingularity.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1467970510-21195-15-git-send-email-mgorman@techsingularity.net> User-Agent: Mutt/1.6.1 (2016-04-27) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > Acked-by: Michal Hocko Yep, the soft limit tracking scope needs to match the reclaim scope. Nice patch :) Acked-by: Johannes Weiner