From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yh0-f49.google.com (mail-yh0-f49.google.com [209.85.213.49]) by kanga.kvack.org (Postfix) with ESMTP id 614536B0031 for ; Thu, 16 Jan 2014 19:16:33 -0500 (EST) Received: by mail-yh0-f49.google.com with SMTP id b6so1191250yha.36 for ; Thu, 16 Jan 2014 16:16:33 -0800 (PST) Received: from mail.zytor.com (terminus.zytor.com. [2001:1868:205::10]) by mx.google.com with ESMTPS id q66si12443298yhm.4.2014.01.16.16.16.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Jan 2014 16:16:32 -0800 (PST) Message-ID: <52D87617.8090804@zytor.com> Date: Thu, 16 Jan 2014 16:15:19 -0800 From: "H. Peter Anvin" MIME-Version: 1.0 Subject: Re: [PATCH RESEND part2 v2 1/8] x86: get pg_data_t's memory from other node References: <529D3FC0.6000403@cn.fujitsu.com> <529D4048.9070000@cn.fujitsu.com> <20140116171112.GB24740@suse.de> In-Reply-To: <20140116171112.GB24740@suse.de> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Mel Gorman , Zhang Yanfei Cc: Andrew Morton , Tejun Heo , Len Brown , Thomas Gleixner , Ingo Molnar , Toshi Kani , Wanpeng Li , Thomas Renninger , Yinghai Lu , Jiang Liu , Wen Congyang , Lai Jiangshan , Yasuaki Ishimatsu , Taku Izumi , Minchan Kim , "mina86@mina86.com" , "gong.chen@linux.intel.com" , Vasilis Liaskovitis , "lwoodman@redhat.com" , Rik van Riel , "jweiner@redhat.com" , Prarit Bhargava , "linux-kernel@vger.kernel.org" , Linux MM , Chen Tang , Tang Chen , Zhang Yanfei On 01/16/2014 09:11 AM, Mel Gorman wrote: > This implies that it is possible to ahve a configuration with a big ratio > difference between Normal:Movable memory. In fact, one would expect that would be the norm. > In such configurations there > would be a risk that the system will reclaim heavily or go OOM because > the kernrel cannot allocate memory due to a relatively small Normal > zone. What protects against that? Is the user ever warned if the ratio > between Normal:Movable very high? The movable_node boot parameter still > turns the feature on and off, there appears to be no way of controlling > the ratio of memory other than booting with the minimum amount of memory > and manually hot-adding the sections to set the appropriate ratio. This is really the fundamental problem with this particular approach to hotswap memory. -hpa -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org