From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f71.google.com (mail-wm0-f71.google.com [74.125.82.71]) by kanga.kvack.org (Postfix) with ESMTP id 9E60C6B02B4 for ; Thu, 1 Jun 2017 12:49:52 -0400 (EDT) Received: by mail-wm0-f71.google.com with SMTP id g15so11419679wmc.8 for ; Thu, 01 Jun 2017 09:49:52 -0700 (PDT) Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com. [148.163.158.5]) by mx.google.com with ESMTPS id 7si20191568edt.108.2017.06.01.09.49.51 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Jun 2017 09:49:51 -0700 (PDT) Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v51Gn57B044972 for ; Thu, 1 Jun 2017 12:49:49 -0400 Received: from e11.ny.us.ibm.com (e11.ny.us.ibm.com [129.33.205.201]) by mx0b-001b2d01.pphosted.com with ESMTP id 2atcj98f0k-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Thu, 01 Jun 2017 12:49:49 -0400 Received: from localhost by e11.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 1 Jun 2017 12:49:49 -0400 Date: Thu, 1 Jun 2017 11:49:42 -0500 From: Reza Arbab Subject: Re: [RFC PATCH] mm, memory_hotplug: support movable_node for hotplugable nodes References: <20170601122004.32732-1-mhocko@kernel.org> <20170601160227.uioluvgvjtplesjr@arbab-laptop.localdomain> <20170601161453.GA12764@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20170601161453.GA12764@dhcp22.suse.cz> Message-Id: <20170601164942.fknio3im3num5pd4@arbab-laptop.localdomain> Sender: owner-linux-mm@kvack.org List-ID: To: Michal Hocko Cc: linux-mm@kvack.org, Andrew Morton , Mel Gorman , Vlastimil Babka , Andrea Arcangeli , Jerome Glisse , Yasuaki Ishimatsu , qiuxishi@huawei.com, Kani Toshimitsu , slaoub@gmail.com, Joonsoo Kim , Andi Kleen , David Rientjes , Daniel Kiper , Igor Mammedov , Vitaly Kuznetsov , LKML On Thu, Jun 01, 2017 at 06:14:54PM +0200, Michal Hocko wrote: >On Thu 01-06-17 11:02:28, Reza Arbab wrote: >> On Thu, Jun 01, 2017 at 02:20:04PM +0200, Michal Hocko wrote: >> >Teach move_pfn_range that MMOP_ONLINE_KEEP can use the movable zone if >> >movable_node is enabled and the range doesn't overlap with the existing >> >normal zone. This should provide a reasonable default onlining strategy. >> >> I like it. If your distro has some auto-onlining udev rule like >> >> SUBSYSTEM=="memory", ACTION=="add", ATTR{state}=="offline", ATTR{state}="online" >> >> You could get things onlined as movable just by putting movable_node in >> the boot params, without changing/modifying the rule. > >yes this is the primary point of the patch ;) Ha. What can I say, I like restating the obvious! At some point after all these cleanups/improvements, it would be worth making sure Documentation/memory-hotplug.txt is still accurate. -- Reza Arbab -- 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