Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756742Ab1DLHEB (ORCPT ); Tue, 12 Apr 2011 03:04:01 -0400 Received: from mail-iy0-f174.google.com ([209.85.210.174]:39075 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756721Ab1DLHEA (ORCPT ); Tue, 12 Apr 2011 03:04:00 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=sK9O4b6Us2FJNVisls87x4CtbQBMntXD3x4OrxSQa/CS9Zi+qrOIcytjd5dA+7wMOk 6g1//Lp9eeWk0MQzhjgNM9w/cZFcazPkCU5+cQFTDkqV+toLBKB5WlqU4OA8/0o7dhu3 0pG7lRXFx8NELyPc66a7aINQHa+35jxADA5VE= MIME-Version: 1.0 In-Reply-To: <20110411170103.035A.A69D9226@jp.fujitsu.com> References: <20110411165957.0352.A69D9226@jp.fujitsu.com> <20110411170103.035A.A69D9226@jp.fujitsu.com> Date: Tue, 12 Apr 2011 16:03:59 +0900 Message-ID: Subject: Re: [PATCH 2/3] mm, mem-hotplug: recalculate lowmem_reserve when memory hotplug occur From: Minchan Kim To: KOSAKI Motohiro Cc: linux-mm , LKML , Andrew Morton , Yasunori Goto , Rik van Riel , Johannes Weiner , KAMEZAWA Hiroyuki , Mel Gorman , Christoph Lameter Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 837 Lines: 21 On Mon, Apr 11, 2011 at 5:00 PM, KOSAKI Motohiro wrote: > Currently, memory hotplug call setup_per_zone_wmarks() and > calculate_zone_inactive_ratio(), but don't call setup_per_zone_lowmem_reserve(). > > It mean number of reserved pages aren't updated even if memory hot plug > occur. This patch fixes it. > > Signed-off-by: KOSAKI Motohiro > Reviewed-by: KAMEZAWA Hiroyuki > Acked-by: Mel Gorman Reviewed-by: Minchan Kim -- Kind regards, Minchan Kim -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/