From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f72.google.com (mail-wm0-f72.google.com [74.125.82.72]) by kanga.kvack.org (Postfix) with ESMTP id 8ED30440905 for ; Fri, 14 Jul 2017 08:13:08 -0400 (EDT) Received: by mail-wm0-f72.google.com with SMTP id g15so8953375wmi.11 for ; Fri, 14 Jul 2017 05:13:08 -0700 (PDT) Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com. [209.85.128.195]) by mx.google.com with ESMTPS id u10si1995131wmg.100.2017.07.14.05.13.07 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Jul 2017 05:13:07 -0700 (PDT) Received: by mail-wr0-f195.google.com with SMTP id v60so44530wrc.2 for ; Fri, 14 Jul 2017 05:13:07 -0700 (PDT) From: Michal Hocko Subject: [PATCH 0/2] mm, memory_hotplug: remove zone onlining restriction Date: Fri, 14 Jul 2017 14:12:31 +0200 Message-Id: <20170714121233.16861-1-mhocko@kernel.org> Sender: owner-linux-mm@kvack.org List-ID: To: Andrew Morton Cc: Mel Gorman , Vlastimil Babka , Andrea Arcangeli , Reza Arbab , Yasuaki Ishimatsu , qiuxishi@huawei.com, Kani Toshimitsu , slaoub@gmail.com, Joonsoo Kim , Daniel Kiper , Igor Mammedov , Vitaly Kuznetsov , Wei Yang , linux-mm@kvack.org, LKML , Joonsoo Kim , linux-api@vger.kernel.org, Michal Hocko Hi, I have sent this as an RFC previously [1] and there haven't been any fundamental objections to the approach. The biggest concern was that if anybody starts depending on the default online semantic introduced in 4.13 merge window then this would break it [2]. I find it rather unlikely but if we are worried we can try to push this later in the release cycle. Unfortunatelly I didn't have much time to work on this sooner. This work should help Joonsoo with his CMA zone based approach when reusing MOVABLE zone. I think it will also help to remove more code from the memory hotplug (e.g. zone shrinking). Patch 1 restores original memoryXY/valid_zones semantic wrt zone ordering. This can be merged without patch 2 which removes the zone overlap restriction and defines a semantic for the default onlining. See more in the patch. Questions, concerns, objections? Shortlog Michal Hocko (2): mm, memory_hotplug: display allowed zones in the preferred ordering mm, memory_hotplug: remove zone restrictions Diffstat drivers/base/memory.c | 30 ++++++++++----- include/linux/memory_hotplug.h | 2 +- mm/memory_hotplug.c | 87 +++++++++++++++++------------------------- 3 files changed, 55 insertions(+), 64 deletions(-) [1] http://lkml.kernel.org/r/20170629073509.623-1-mhocko@kernel.org [2] http://lkml.kernel.org/r/20170710064540.GA19185@dhcp22.suse.cz -- 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