From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751690AbcHIHeR (ORCPT ); Tue, 9 Aug 2016 03:34:17 -0400 Received: from outbound-smtp02.blacknight.com ([81.17.249.8]:34176 "EHLO outbound-smtp02.blacknight.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750810AbcHIHeQ (ORCPT ); Tue, 9 Aug 2016 03:34:16 -0400 Date: Tue, 9 Aug 2016 08:34:12 +0100 From: Mel Gorman To: js1304@gmail.com Cc: Andrew Morton , Vlastimil Babka , Johannes Weiner , Minchan Kim , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Joonsoo Kim Subject: Re: [PATCH 2/2] mm/page_alloc: recalculate some of node threshold when on/offline memory Message-ID: <20160809073412.GB8119@techsingularity.net> References: <1470724248-26780-1-git-send-email-iamjoonsoo.kim@lge.com> <1470724248-26780-2-git-send-email-iamjoonsoo.kim@lge.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1470724248-26780-2-git-send-email-iamjoonsoo.kim@lge.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 09, 2016 at 03:30:48PM +0900, js1304@gmail.com wrote: > From: Joonsoo Kim > > Some of node threshold depends on number of managed pages in the node. > When memory is going on/offline, it can be changed and we need to > adjust them. > > This patch add recalculation to appropriate places and clean-up > related function for better maintanance. > > Signed-off-by: Joonsoo Kim Acked-by: Mel Gorman -- Mel Gorman SUSE Labs