From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_MUTT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 15B8DC04E87 for ; Tue, 21 May 2019 16:11:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E622C217F4 for ; Tue, 21 May 2019 16:11:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728854AbfEUQLJ (ORCPT ); Tue, 21 May 2019 12:11:09 -0400 Received: from mx2.suse.de ([195.135.220.15]:47782 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728067AbfEUQLJ (ORCPT ); Tue, 21 May 2019 12:11:09 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id D22D7ADE1; Tue, 21 May 2019 16:11:07 +0000 (UTC) Date: Tue, 21 May 2019 18:11:05 +0200 From: Oscar Salvador To: David Hildenbrand Cc: Mike Rapoport , Jonathan Corbet , linux-doc@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] docs: reorder memory-hotplug documentation Message-ID: <20190521161101.GA2372@linux> References: <1557822213-19058-1-git-send-email-rppt@linux.ibm.com> <43092504-a95f-374d-f3db-b961dd8ac428@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43092504-a95f-374d-f3db-b961dd8ac428@redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 21, 2019 at 12:41:50PM +0200, David Hildenbrand wrote: > > +Future Work > > +=========== > > + > > + - allowing memory hot-add to ZONE_MOVABLE. maybe we need some switch like > > + sysctl or new control file. > > ... that already works if I am not completely missing the point here It does. > > + - support HugeTLB page migration and offlining. > > ... I remember that Oscar was doing something in that area, Oscar? Yes, in general offlinining on hugetlb pages was already working, but we did not allow to offline 1GB-hugetlb pages on x86_64. I removed that limitation with ("commit: 10eeadf3045c mm,memory_hotplug: unlock 1GB-hugetlb on x86_64") , so now offlining on hugetlb pages should be fully operative. > I'd vote for removing the future work part, this is pretty outdated. Instead of removing it, I would rather make it consistent with the present. E.g: - Move page handling from memory-hotremove to offline stage - Enable a way to allocate vmemmap pages from hot-added memory etc. -- Oscar Salvador SUSE L3